#[repr(C)]pub struct GpioEvent {
pub timestamp: u64,
pub id: EventId,
}Expand description
A GPIO event received from a GpioEventHandle
Fields§
§timestamp: u64timestamp in ns
id: EventIdevent type
Auto Trait Implementations§
impl Freeze for GpioEvent
impl RefUnwindSafe for GpioEvent
impl Send for GpioEvent
impl Sync for GpioEvent
impl Unpin for GpioEvent
impl UnwindSafe for GpioEvent
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