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