Enum Exten
#[repr(u8)]pub enum Exten {
Disabled = 0,
RisingEdge = 1,
FallingEdge = 2,
BothEdges = 3,
}Variants§
Disabled = 0
Trigger detection disabled
RisingEdge = 1
Trigger detection on the rising edge
FallingEdge = 2
Trigger detection on the falling edge
BothEdges = 3
Trigger detection on both the rising and falling edges
Implementations§
Trait Implementations§
impl Copy for Exten
impl Eq for Exten
§impl Ord for Exten
impl Ord for Exten
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Exten
impl PartialOrd for Exten
impl StructuralPartialEq for Exten
Auto Trait Implementations§
impl Freeze for Exten
impl RefUnwindSafe for Exten
impl Send for Exten
impl Sync for Exten
impl Unpin for Exten
impl UnsafeUnpin for Exten
impl UnwindSafe for Exten
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