Enum gpiocdev_uapi::v2::LineEdgeEventKind
source · [−]#[repr(u32)]
pub enum LineEdgeEventKind {
RisingEdge,
FallingEdge,
}
Expand description
The trigger identifier for a LineEdgeEvent
.
Variants
RisingEdge
Indicates the line transitioned from inactive to active.
FallingEdge
Indicates the line transitioned from active to inactive.
Trait Implementations
sourceimpl Clone for LineEdgeEventKind
impl Clone for LineEdgeEventKind
sourcefn clone(&self) -> LineEdgeEventKind
fn clone(&self) -> LineEdgeEventKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LineEdgeEventKind
impl Debug for LineEdgeEventKind
sourceimpl PartialEq<LineEdgeEventKind> for LineEdgeEventKind
impl PartialEq<LineEdgeEventKind> for LineEdgeEventKind
sourcefn eq(&self, other: &LineEdgeEventKind) -> bool
fn eq(&self, other: &LineEdgeEventKind) -> bool
sourceimpl TryFrom<u32> for LineEdgeEventKind
impl TryFrom<u32> for LineEdgeEventKind
impl Copy for LineEdgeEventKind
impl Eq for LineEdgeEventKind
impl StructuralEq for LineEdgeEventKind
impl StructuralPartialEq for LineEdgeEventKind
Auto Trait Implementations
impl RefUnwindSafe for LineEdgeEventKind
impl Send for LineEdgeEventKind
impl Sync for LineEdgeEventKind
impl Unpin for LineEdgeEventKind
impl UnwindSafe for LineEdgeEventKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more