Struct ioctl_sys::input_event [] [src]

pub struct input_event {
    pub time: timeval,
    pub _type: u16,
    pub code: u16,
    pub value: i32,
}

Fields

time: timeval _type: u16 code: u16 value: i32

Trait Implementations

impl Clone for input_event
[src]

fn clone(&self) -> input_event

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for input_event
[src]

impl Default for input_event
[src]

fn default() -> Self

Returns the "default value" for a type. Read more

impl Debug for input_event
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.