Enum M1
#[repr(u8)]pub enum M1 {
M0 = 0,
Bit7 = 1,
}Variants§
M0 = 0
Use M0 to set the data bits (M[1:0] = 0b00 8 data bits, 0b01 9 data bits)
Bit7 = 1
1 start bit, 7 data bits, n stop bits
Implementations§
Trait Implementations§
impl Copy for M1
impl Eq for M1
§impl Ord for M1
impl Ord for M1
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 M1
impl PartialOrd for M1
impl StructuralPartialEq for M1
Auto Trait Implementations§
impl Freeze for M1
impl RefUnwindSafe for M1
impl Send for M1
impl Sync for M1
impl Unpin for M1
impl UnsafeUnpin for M1
impl UnwindSafe for M1
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