Enum stm32wlxx_hal::gpio::Pull
source · #[repr(u8)]pub enum Pull {
None = 0,
Up = 1,
Down = 2,
}
Expand description
GPIO pull-up and pull-down.
Variants§
Trait Implementations§
source§impl PartialEq for Pull
impl PartialEq for Pull
impl Copy for Pull
impl Eq for Pull
impl StructuralEq for Pull
impl StructuralPartialEq for Pull
Auto Trait Implementations§
impl RefUnwindSafe for Pull
impl Send for Pull
impl Sync for Pull
impl Unpin for Pull
impl UnwindSafe for Pull
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