Struct input_linux::EventTime [−][src]
#[repr(C)]pub struct EventTime(_);
Expand description
An event timestamp.
Implementations
Create a timestamp given a libc timeval
.
Set the seconds component of the timestamp.
The microseconds component of the seconds.
This is meant to be modulo one second, though any value is technically valid.
Set the microseconds component of the timestamp.
The inner libc
type.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for EventTime
impl UnwindSafe for EventTime
Blanket Implementations
Mutably borrows from an owned value. Read more