Enum stm32f4xx_hal::gpio::Pull
source · [−]pub enum Pull {
None,
Up,
Down,
}
Expand description
Pull setting for an input.
Variants
None
Floating
Up
Pulled up
Down
Pulled down
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more