pub enum PullMode {
Float,
PullDown,
PullUp,
}
Expand description
A pull up/down mode for a GPIO pin.
Variants§
Trait Implementations§
Source§impl Ord for PullMode
impl Ord for PullMode
Source§impl PartialOrd for PullMode
impl PartialOrd for PullMode
impl Copy for PullMode
impl Eq for PullMode
impl StructuralPartialEq for PullMode
Auto Trait Implementations§
impl Freeze for PullMode
impl RefUnwindSafe for PullMode
impl Send for PullMode
impl Sync for PullMode
impl Unpin for PullMode
impl UnwindSafe for PullMode
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