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§
Auto Trait Implementations§
impl Freeze for ButtonPull
impl RefUnwindSafe for ButtonPull
impl Send for ButtonPull
impl Sync for ButtonPull
impl Unpin for ButtonPull
impl UnwindSafe for ButtonPull
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