pub enum InterruptMode {
CHANGE = 0,
FALLING = 1,
RISING = 2,
}
Expand description
Interrupt modes.
Variants§
CHANGE = 0
Represents change mode.
FALLING = 1
Represents falling mode.
RISING = 2
Represents rising mode.
Trait Implementations§
Source§impl Clone for InterruptMode
impl Clone for InterruptMode
Source§fn clone(&self) -> InterruptMode
fn clone(&self) -> InterruptMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InterruptMode
impl Debug for InterruptMode
Source§impl PartialEq for InterruptMode
impl PartialEq for InterruptMode
impl Copy for InterruptMode
impl StructuralPartialEq for InterruptMode
Auto Trait Implementations§
impl Freeze for InterruptMode
impl RefUnwindSafe for InterruptMode
impl Send for InterruptMode
impl Sync for InterruptMode
impl Unpin for InterruptMode
impl UnwindSafe for InterruptMode
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