#[repr(u32)]pub enum LineEdgeEventKind {
RisingEdge = 1,
FallingEdge = 2,
}
Expand description
The trigger identifier for a LineEdgeEvent
.
Variants§
RisingEdge = 1
Indicates the line transitioned from inactive to active.
FallingEdge = 2
Indicates the line transitioned from active to inactive.
Trait Implementations§
Source§impl Clone for LineEdgeEventKind
impl Clone for LineEdgeEventKind
Source§fn clone(&self) -> LineEdgeEventKind
fn clone(&self) -> LineEdgeEventKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LineEdgeEventKind
impl Debug for LineEdgeEventKind
Source§impl PartialEq for LineEdgeEventKind
impl PartialEq for LineEdgeEventKind
Source§impl TryFrom<u32> for LineEdgeEventKind
impl TryFrom<u32> for LineEdgeEventKind
impl Copy for LineEdgeEventKind
impl Eq for LineEdgeEventKind
impl StructuralPartialEq for LineEdgeEventKind
Auto Trait Implementations§
impl Freeze for LineEdgeEventKind
impl RefUnwindSafe for LineEdgeEventKind
impl Send for LineEdgeEventKind
impl Sync for LineEdgeEventKind
impl Unpin for LineEdgeEventKind
impl UnwindSafe for LineEdgeEventKind
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