pub enum Pull {
Floating,
Up,
Down,
UpDown,
}
Variants§
Trait Implementations§
Source§impl From<Pull> for gpio_pull_mode_t
impl From<Pull> for gpio_pull_mode_t
Source§fn from(pull: Pull) -> gpio_pull_mode_t
fn from(pull: Pull) -> gpio_pull_mode_t
Converts to this type from the input type.
impl Copy for Pull
impl Eq for Pull
impl StructuralPartialEq for Pull
Auto Trait Implementations§
impl Freeze for Pull
impl RefUnwindSafe for Pull
impl Send for Pull
impl Sync for Pull
impl Unpin for Pull
impl UnwindSafe for Pull
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)