Enum embassy_usb_synopsys_otg::otg_v1::vals::Eptyp
source · #[repr(u8)]pub enum Eptyp {
CONTROL = 0,
ISOCHRONOUS = 1,
BULK = 2,
INTERRUPT = 3,
}
Variants§
Implementations§
Trait Implementations§
source§impl Ord for Eptyp
impl Ord for Eptyp
source§impl PartialEq for Eptyp
impl PartialEq for Eptyp
source§impl PartialOrd for Eptyp
impl PartialOrd for Eptyp
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 StructuralPartialEq for Eptyp
Auto Trait Implementations§
impl Freeze for Eptyp
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