#[repr(u8)]pub enum CtrlClrEndevplugindet {
ENDEVPLUGINDET_0 = 0,
ENDEVPLUGINDET_1 = 1,
}Variants§
ENDEVPLUGINDET_0 = 0
Disables 200kohm pullup resistors on USB_DP and USB_DM pins (Default)
ENDEVPLUGINDET_1 = 1
Enables 200kohm pullup resistors on USB_DP and USB_DM pins
Implementations§
Trait Implementations§
Source§impl Clone for CtrlClrEndevplugindet
impl Clone for CtrlClrEndevplugindet
Source§fn clone(&self) -> CtrlClrEndevplugindet
fn clone(&self) -> CtrlClrEndevplugindet
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 CtrlClrEndevplugindet
impl Debug for CtrlClrEndevplugindet
Source§impl From<CtrlClrEndevplugindet> for u8
impl From<CtrlClrEndevplugindet> for u8
Source§fn from(val: CtrlClrEndevplugindet) -> u8
fn from(val: CtrlClrEndevplugindet) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CtrlClrEndevplugindet
impl From<u8> for CtrlClrEndevplugindet
Source§fn from(val: u8) -> CtrlClrEndevplugindet
fn from(val: u8) -> CtrlClrEndevplugindet
Converts to this type from the input type.
Source§impl Ord for CtrlClrEndevplugindet
impl Ord for CtrlClrEndevplugindet
Source§fn cmp(&self, other: &CtrlClrEndevplugindet) -> Ordering
fn cmp(&self, other: &CtrlClrEndevplugindet) -> 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 CtrlClrEndevplugindet
impl PartialEq for CtrlClrEndevplugindet
Source§impl PartialOrd for CtrlClrEndevplugindet
impl PartialOrd for CtrlClrEndevplugindet
impl Copy for CtrlClrEndevplugindet
impl Eq for CtrlClrEndevplugindet
impl StructuralPartialEq for CtrlClrEndevplugindet
Auto Trait Implementations§
impl Freeze for CtrlClrEndevplugindet
impl RefUnwindSafe for CtrlClrEndevplugindet
impl Send for CtrlClrEndevplugindet
impl Sync for CtrlClrEndevplugindet
impl Unpin for CtrlClrEndevplugindet
impl UnwindSafe for CtrlClrEndevplugindet
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