Enum I2scfg
#[repr(u8)]pub enum I2scfg {
SlaveTx = 0,
SlaveRx = 1,
MasterTx = 2,
MasterRx = 3,
}Variants§
SlaveTx = 0
Slave - transmit.
SlaveRx = 1
Slave - receive.
MasterTx = 2
Master - transmit.
MasterRx = 3
Master - receive.
Implementations§
Trait Implementations§
impl Copy for I2scfg
impl Eq for I2scfg
§impl Ord for I2scfg
impl Ord for I2scfg
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for I2scfg
impl PartialOrd for I2scfg
impl StructuralPartialEq for I2scfg
Auto Trait Implementations§
impl Freeze for I2scfg
impl RefUnwindSafe for I2scfg
impl Send for I2scfg
impl Sync for I2scfg
impl Unpin for I2scfg
impl UnsafeUnpin for I2scfg
impl UnwindSafe for I2scfg
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