#[repr(u8)]pub enum Usb2ChrgDetectEnB {
ENABLE = 0,
DISABLE = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Usb2ChrgDetectEnB
impl Clone for Usb2ChrgDetectEnB
Source§fn clone(&self) -> Usb2ChrgDetectEnB
fn clone(&self) -> Usb2ChrgDetectEnB
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 Usb2ChrgDetectEnB
impl Debug for Usb2ChrgDetectEnB
Source§impl From<Usb2ChrgDetectEnB> for u8
impl From<Usb2ChrgDetectEnB> for u8
Source§fn from(val: Usb2ChrgDetectEnB) -> u8
fn from(val: Usb2ChrgDetectEnB) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb2ChrgDetectEnB
impl From<u8> for Usb2ChrgDetectEnB
Source§fn from(val: u8) -> Usb2ChrgDetectEnB
fn from(val: u8) -> Usb2ChrgDetectEnB
Converts to this type from the input type.
Source§impl Ord for Usb2ChrgDetectEnB
impl Ord for Usb2ChrgDetectEnB
Source§fn cmp(&self, other: &Usb2ChrgDetectEnB) -> Ordering
fn cmp(&self, other: &Usb2ChrgDetectEnB) -> 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 Usb2ChrgDetectEnB
impl PartialEq for Usb2ChrgDetectEnB
Source§impl PartialOrd for Usb2ChrgDetectEnB
impl PartialOrd for Usb2ChrgDetectEnB
impl Copy for Usb2ChrgDetectEnB
impl Eq for Usb2ChrgDetectEnB
impl StructuralPartialEq for Usb2ChrgDetectEnB
Auto Trait Implementations§
impl Freeze for Usb2ChrgDetectEnB
impl RefUnwindSafe for Usb2ChrgDetectEnB
impl Send for Usb2ChrgDetectEnB
impl Sync for Usb2ChrgDetectEnB
impl Unpin for Usb2ChrgDetectEnB
impl UnwindSafe for Usb2ChrgDetectEnB
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