Enum stm32_metapac::otg::vals::Eptyp
#[repr(u8)]pub enum Eptyp {
CONTROL = 0,
ISOCHRONOUS = 1,
BULK = 2,
INTERRUPT = 3,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Eptyp
impl Ord for Eptyp
§impl PartialOrd for Eptyp
impl PartialOrd for Eptyp
§fn partial_cmp(&self, other: &Eptyp) -> Option<Ordering>
fn partial_cmp(&self, other: &Eptyp) -> 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 Eptyp
impl Eq for Eptyp
impl StructuralEq for Eptyp
impl StructuralPartialEq for Eptyp
Auto Trait Implementations§
impl RefUnwindSafe for Eptyp
impl Send for Eptyp
impl Sync for Eptyp
impl Unpin for Eptyp
impl UnwindSafe for Eptyp
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