Enum stm32_metapac::otg::vals::Dpid
#[repr(u8)]pub enum Dpid {
DATA0 = 0,
DATA2 = 1,
DATA1 = 2,
MDATA = 3,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Dpid
impl Ord for Dpid
§impl PartialOrd for Dpid
impl PartialOrd for Dpid
§fn partial_cmp(&self, other: &Dpid) -> Option<Ordering>
fn partial_cmp(&self, other: &Dpid) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Dpid
impl Eq for Dpid
impl StructuralEq for Dpid
impl StructuralPartialEq for Dpid
Auto Trait Implementations§
impl RefUnwindSafe for Dpid
impl Send for Dpid
impl Sync for Dpid
impl Unpin for Dpid
impl UnwindSafe for Dpid
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