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