Struct input_linux::SynchronizeEvent [−][src]
#[repr(C)]pub struct SynchronizeEvent { pub time: EventTime, pub kind: SynchronizeKind, pub value: i32, // some fields omitted }
Expand description
Synchronization events are used by evdev to group events or convey other out-of-band information.
Fields
time: EventTime
The timestamp associated with the event.
kind: SynchronizeKind
The type of synchronization event.
value: i32
An associated value with the event.
Implementations
Creates a new event from the given code and value.
Reinterpret a generic event without checking for validity.
Reinterpret a mutable generic event without checking for validity.
A generic input event reference.
A mutable generic input event reference.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
The event kind.
Interprets a generic event reference into a concrete event type.
Interprets a mutable generic event reference into a concrete event type.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = RangeError
type Error = RangeError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = RangeError
type Error = RangeError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = RangeError
type Error = RangeError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SynchronizeEvent
impl Send for SynchronizeEvent
impl Sync for SynchronizeEvent
impl Unpin for SynchronizeEvent
impl UnwindSafe for SynchronizeEvent
Blanket Implementations
Mutably borrows from an owned value. Read more