#[repr(u8)]pub enum DebugFeature {
_RESERVED_0 = 0,
Disabled = 1,
Enabled = 2,
_RESERVED_3 = 3,
}Variants§
Implementations§
Source§impl DebugFeature
impl DebugFeature
Trait Implementations§
Source§impl Clone for DebugFeature
impl Clone for DebugFeature
Source§fn clone(&self) -> DebugFeature
fn clone(&self) -> DebugFeature
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebugFeature
impl Debug for DebugFeature
Source§impl From<DebugFeature> for u8
impl From<DebugFeature> for u8
Source§fn from(val: DebugFeature) -> u8
fn from(val: DebugFeature) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DebugFeature
impl From<u8> for DebugFeature
Source§fn from(val: u8) -> DebugFeature
fn from(val: u8) -> DebugFeature
Converts to this type from the input type.
Source§impl Ord for DebugFeature
impl Ord for DebugFeature
Source§fn cmp(&self, other: &DebugFeature) -> Ordering
fn cmp(&self, other: &DebugFeature) -> Ordering
1.21.0 · 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
Source§impl PartialEq for DebugFeature
impl PartialEq for DebugFeature
Source§impl PartialOrd for DebugFeature
impl PartialOrd for DebugFeature
impl Copy for DebugFeature
impl Eq for DebugFeature
impl StructuralPartialEq for DebugFeature
Auto Trait Implementations§
impl Freeze for DebugFeature
impl RefUnwindSafe for DebugFeature
impl Send for DebugFeature
impl Sync for DebugFeature
impl Unpin for DebugFeature
impl UnwindSafe for DebugFeature
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