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