pub enum EventType {
RisingEdge,
FallingEdge,
}
Expand description
Did the Line rise (go active) or fall (go inactive)?
Maps to kernel GPIOEVENT_EVENT_*
definitions.
Variants§
Trait Implementations§
source§impl PartialEq<EventType> for EventType
impl PartialEq<EventType> for EventType
impl Copy for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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