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