pub enum InterruptTriggerMode {
EdgeTriggered,
LevelTriggered,
}Expand description
Interrupt trigger mode.
Represents the trigger mode of an interrupt in a platform-neutral way. Architectures that do not distinguish between edge and level triggering can ignore this parameter.
Variants§
Trait Implementations§
Source§impl Clone for InterruptTriggerMode
impl Clone for InterruptTriggerMode
Source§fn clone(&self) -> InterruptTriggerMode
fn clone(&self) -> InterruptTriggerMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterruptTriggerMode
Source§impl Debug for InterruptTriggerMode
impl Debug for InterruptTriggerMode
impl Eq for InterruptTriggerMode
Source§impl PartialEq for InterruptTriggerMode
impl PartialEq for InterruptTriggerMode
Source§fn eq(&self, other: &InterruptTriggerMode) -> bool
fn eq(&self, other: &InterruptTriggerMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterruptTriggerMode
Auto Trait Implementations§
impl Freeze for InterruptTriggerMode
impl RefUnwindSafe for InterruptTriggerMode
impl Send for InterruptTriggerMode
impl Sync for InterruptTriggerMode
impl Unpin for InterruptTriggerMode
impl UnsafeUnpin for InterruptTriggerMode
impl UnwindSafe for InterruptTriggerMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more