Enum Msbfirst
#[repr(u8)]pub enum Msbfirst {
Lsb = 0,
Msb = 1,
}Variants§
Lsb = 0
data is transmitted/received with data bit 0 first, following the start bit
Msb = 1
data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Implementations§
Trait Implementations§
impl Copy for Msbfirst
impl Eq for Msbfirst
§impl Ord for Msbfirst
impl Ord for Msbfirst
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 Msbfirst
impl PartialOrd for Msbfirst
impl StructuralPartialEq for Msbfirst
Auto Trait Implementations§
impl Freeze for Msbfirst
impl RefUnwindSafe for Msbfirst
impl Send for Msbfirst
impl Sync for Msbfirst
impl Unpin for Msbfirst
impl UnsafeUnpin for Msbfirst
impl UnwindSafe for Msbfirst
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