Struct evdev_rs::InputEvent[][src]

pub struct InputEvent {
    pub time: TimeVal,
    pub event_type: EventType,
    pub event_code: EventCode,
    pub value: i32,
}

The event structure itself

Fields

The time at which event occured

Methods

impl InputEvent
[src]

Trait Implementations

impl Clone for InputEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for InputEvent
[src]

Formats the value using the given formatter. Read more

impl PartialEq for InputEvent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for InputEvent

impl Sync for InputEvent