#[repr(u8)]pub enum DpdmLaneReverse {
DP_DM_STANDARD = 0,
DP_DM_REVERSED = 1,
}Variants§
DP_DM_STANDARD = 0
Standard USB DP and DM package pin assignment
DP_DM_REVERSED = 1
Reverse roles of USB DP and DM package pins
Implementations§
Trait Implementations§
Source§impl Clone for DpdmLaneReverse
impl Clone for DpdmLaneReverse
Source§fn clone(&self) -> DpdmLaneReverse
fn clone(&self) -> DpdmLaneReverse
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 DpdmLaneReverse
impl Debug for DpdmLaneReverse
Source§impl From<DpdmLaneReverse> for u8
impl From<DpdmLaneReverse> for u8
Source§fn from(val: DpdmLaneReverse) -> u8
fn from(val: DpdmLaneReverse) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DpdmLaneReverse
impl From<u8> for DpdmLaneReverse
Source§fn from(val: u8) -> DpdmLaneReverse
fn from(val: u8) -> DpdmLaneReverse
Converts to this type from the input type.
Source§impl Ord for DpdmLaneReverse
impl Ord for DpdmLaneReverse
Source§fn cmp(&self, other: &DpdmLaneReverse) -> Ordering
fn cmp(&self, other: &DpdmLaneReverse) -> 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 DpdmLaneReverse
impl PartialEq for DpdmLaneReverse
Source§impl PartialOrd for DpdmLaneReverse
impl PartialOrd for DpdmLaneReverse
impl Copy for DpdmLaneReverse
impl Eq for DpdmLaneReverse
impl StructuralPartialEq for DpdmLaneReverse
Auto Trait Implementations§
impl Freeze for DpdmLaneReverse
impl RefUnwindSafe for DpdmLaneReverse
impl Send for DpdmLaneReverse
impl Sync for DpdmLaneReverse
impl Unpin for DpdmLaneReverse
impl UnwindSafe for DpdmLaneReverse
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