pub enum EdgeKind {
Rising,
Falling,
}
Expand description
The cause of an EdgeEvent
.
Variants
Rising
Indicates the line transitioned from inactive to active.
Falling
Indicates the line transitioned from active to inactive.
Trait Implementations
sourceimpl From<LineEdgeEventKind> for EdgeKind
impl From<LineEdgeEventKind> for EdgeKind
sourcefn from(kind: LineEdgeEventKind) -> Self
fn from(kind: LineEdgeEventKind) -> Self
Converts to this type from the input type.
impl Copy for EdgeKind
impl Eq for EdgeKind
impl StructuralEq for EdgeKind
impl StructuralPartialEq for EdgeKind
Auto Trait Implementations
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnwindSafe for EdgeKind
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