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