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