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