Enum esp_idf_hal::gpio::Pull
source · 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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)