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