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