Enum debounced_button::ButtonPull
source · [−]pub enum ButtonPull {
PullUp,
PullDown,
}Expand description
Whether the pin is pulled up or pulled down by default. A button press would pull it into the inverted state
Variants
PullUp
PullDown
Auto Trait Implementations
impl RefUnwindSafe for ButtonPull
impl Send for ButtonPull
impl Sync for ButtonPull
impl Unpin for ButtonPull
impl UnwindSafe for ButtonPull
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