pub enum SlaveSelectMode {
MasterUnused,
MasterSoftware,
MasterHwOutput,
MasterHwInput,
SlaveHardware,
SlaveSoftware,
}Expand description
Defines the slave select mode.
Variants§
MasterUnused
Not used (default)
MasterSoftware
Software controlled
MasterHwOutput
Hardware controlled Output
MasterHwInput
Hardware monitored Input
SlaveHardware
Hardware monitored (default for slave)
SlaveSoftware
Software controlled
Trait Implementations§
Source§impl Clone for SlaveSelectMode
impl Clone for SlaveSelectMode
Source§fn clone(&self) -> SlaveSelectMode
fn clone(&self) -> SlaveSelectMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlaveSelectMode
impl Debug for SlaveSelectMode
Source§impl PartialEq for SlaveSelectMode
impl PartialEq for SlaveSelectMode
impl Copy for SlaveSelectMode
impl Eq for SlaveSelectMode
impl StructuralPartialEq for SlaveSelectMode
Auto Trait Implementations§
impl Freeze for SlaveSelectMode
impl RefUnwindSafe for SlaveSelectMode
impl Send for SlaveSelectMode
impl Sync for SlaveSelectMode
impl Unpin for SlaveSelectMode
impl UnwindSafe for SlaveSelectMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more