Struct input_event

#[repr(C)]
pub struct input_event { pub time: timeval, pub type_: __u16, pub code: __u16, pub value: __s32 }

Fields

time: timeval
type_: __u16
code: __u16
value: __s32

Trait Implementations

impl Clone for input_event

fn clone(&self) -> Self

impl Copy for input_event

impl Debug for input_event

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

impl Eq for input_event

impl Hash for input_event

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for input_event

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for input_event

Auto Trait Implementations

impl Freeze for input_event

impl RefUnwindSafe for input_event

impl Send for input_event

impl Sync for input_event

impl Unpin for input_event

impl UnsafeUnpin for input_event

impl UnwindSafe for input_event

Blanket Implementations

impl<T> Any for input_event where T: 'static + ?Sized,

impl<T> Borrow<T> for input_event where T: ?Sized,

impl<T> BorrowMut<T> for input_event where T: ?Sized,

impl<T> CloneToUninit for input_event where T: Clone,

impl<T> From<T> for input_event

impl<T, U> Into<U> for input_event where U: From<T>,

impl<T, U> TryFrom<U> for input_event where U: Into<T>,

impl<T, U> TryInto<U> for input_event where U: TryFrom<T>,