Enum esp_idf_hal::gpio::InterruptType
source · pub enum InterruptType {
PosEdge,
NegEdge,
AnyEdge,
LowLevel,
HighLevel,
}
Expand description
Interrupt types
Variants§
Trait Implementations§
source§impl Clone for InterruptType
impl Clone for InterruptType
source§fn clone(&self) -> InterruptType
fn clone(&self) -> InterruptType
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InterruptType
impl Debug for InterruptType
source§impl From<InterruptType> for gpio_int_type_t
impl From<InterruptType> for gpio_int_type_t
source§fn from(interrupt_type: InterruptType) -> gpio_int_type_t
fn from(interrupt_type: InterruptType) -> gpio_int_type_t
Converts to this type from the input type.
source§impl From<InterruptType> for u8
impl From<InterruptType> for u8
source§fn from(interrupt_type: InterruptType) -> u8
fn from(interrupt_type: InterruptType) -> u8
Converts to this type from the input type.
source§impl PartialEq for InterruptType
impl PartialEq for InterruptType
source§fn eq(&self, other: &InterruptType) -> bool
fn eq(&self, other: &InterruptType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InterruptType
impl Eq for InterruptType
impl StructuralPartialEq for InterruptType
Auto Trait Implementations§
impl Freeze for InterruptType
impl RefUnwindSafe for InterruptType
impl Send for InterruptType
impl Sync for InterruptType
impl Unpin for InterruptType
impl UnwindSafe for InterruptType
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
)