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
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,
§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
)