#[repr(u8)]pub enum Usb1ChrgDetectClrChkChrgB {
CHECK = 0,
NO_CHECK = 1,
}Variants§
CHECK = 0
Check whether a charger (either a dedicated charger or a host charger) is connected to USB port.
NO_CHECK = 1
Do not check whether a charger is connected to the USB port.
Implementations§
Trait Implementations§
Source§impl Clone for Usb1ChrgDetectClrChkChrgB
impl Clone for Usb1ChrgDetectClrChkChrgB
Source§fn clone(&self) -> Usb1ChrgDetectClrChkChrgB
fn clone(&self) -> Usb1ChrgDetectClrChkChrgB
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 Usb1ChrgDetectClrChkChrgB
impl Debug for Usb1ChrgDetectClrChkChrgB
Source§impl From<Usb1ChrgDetectClrChkChrgB> for u8
impl From<Usb1ChrgDetectClrChkChrgB> for u8
Source§fn from(val: Usb1ChrgDetectClrChkChrgB) -> u8
fn from(val: Usb1ChrgDetectClrChkChrgB) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1ChrgDetectClrChkChrgB
impl From<u8> for Usb1ChrgDetectClrChkChrgB
Source§fn from(val: u8) -> Usb1ChrgDetectClrChkChrgB
fn from(val: u8) -> Usb1ChrgDetectClrChkChrgB
Converts to this type from the input type.
Source§impl Ord for Usb1ChrgDetectClrChkChrgB
impl Ord for Usb1ChrgDetectClrChkChrgB
Source§fn cmp(&self, other: &Usb1ChrgDetectClrChkChrgB) -> Ordering
fn cmp(&self, other: &Usb1ChrgDetectClrChkChrgB) -> 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 PartialOrd for Usb1ChrgDetectClrChkChrgB
impl PartialOrd for Usb1ChrgDetectClrChkChrgB
impl Copy for Usb1ChrgDetectClrChkChrgB
impl Eq for Usb1ChrgDetectClrChkChrgB
impl StructuralPartialEq for Usb1ChrgDetectClrChkChrgB
Auto Trait Implementations§
impl Freeze for Usb1ChrgDetectClrChkChrgB
impl RefUnwindSafe for Usb1ChrgDetectClrChkChrgB
impl Send for Usb1ChrgDetectClrChkChrgB
impl Sync for Usb1ChrgDetectClrChkChrgB
impl Unpin for Usb1ChrgDetectClrChkChrgB
impl UnwindSafe for Usb1ChrgDetectClrChkChrgB
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