#[non_exhaustive]
pub enum GpioPull {
GpioPullNo,
GpioPullUp,
GpioPullDown,
}
Expand description
Gpio pull modes
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GpioPullNo
GpioPullUp
GpioPullDown
Trait Implementations
impl Eq for GpioPull
impl StructuralEq for GpioPull
impl StructuralPartialEq for GpioPull
Auto Trait Implementations
impl RefUnwindSafe for GpioPull
impl Send for GpioPull
impl Sync for GpioPull
impl Unpin for GpioPull
impl UnwindSafe for GpioPull
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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