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