Struct gpiocdev::line::InfoChangeEvent
source · [−]pub struct InfoChangeEvent {
pub info: Info,
pub timestamp_ns: u64,
pub kind: InfoChangeKind,
}
Expand description
The details of a change to the Info
for a line.
Fields
info: Info
The updated line info.
timestamp_ns: u64
The best estimate of time of event occurrence.
The CLOCK_MONOTONIC is used as the source for info change timestamps.
kind: InfoChangeKind
The trigger for the change.
Trait Implementations
sourceimpl Clone for InfoChangeEvent
impl Clone for InfoChangeEvent
sourcefn clone(&self) -> InfoChangeEvent
fn clone(&self) -> InfoChangeEvent
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 InfoChangeEvent
impl Debug for InfoChangeEvent
sourceimpl From<&LineInfoChangeEvent> for InfoChangeEvent
impl From<&LineInfoChangeEvent> for InfoChangeEvent
sourcefn from(ice: &LineInfoChangeEvent) -> Self
fn from(ice: &LineInfoChangeEvent) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<InfoChangeEvent> for InfoChangeEvent
impl PartialEq<InfoChangeEvent> for InfoChangeEvent
sourcefn eq(&self, other: &InfoChangeEvent) -> bool
fn eq(&self, other: &InfoChangeEvent) -> bool
impl Eq for InfoChangeEvent
impl StructuralEq for InfoChangeEvent
impl StructuralPartialEq for InfoChangeEvent
Auto Trait Implementations
impl RefUnwindSafe for InfoChangeEvent
impl Send for InfoChangeEvent
impl Sync for InfoChangeEvent
impl Unpin for InfoChangeEvent
impl UnwindSafe for InfoChangeEvent
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