Enum Mstr
#[repr(u8)]pub enum Mstr {
Slave = 0,
Master = 1,
}Variants§
Implementations§
Trait Implementations§
impl Copy for Mstr
impl Eq for Mstr
§impl Ord for Mstr
impl Ord for Mstr
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 Mstr
impl PartialOrd for Mstr
impl StructuralPartialEq for Mstr
Auto Trait Implementations§
impl Freeze for Mstr
impl RefUnwindSafe for Mstr
impl Send for Mstr
impl Sync for Mstr
impl Unpin for Mstr
impl UnsafeUnpin for Mstr
impl UnwindSafe for Mstr
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