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