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