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