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