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
impl Copy for Pupdr
impl Eq for Pupdr
impl StructuralPartialEq for Pupdr
Auto Trait Implementations§
impl Freeze for Pupdr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)