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