Struct libc::input_event
#[repr(C)]
pub struct input_event {
pub time: ::timeval,
pub type_: ::__u16,
pub code: ::__u16,
pub value: ::__s32,
}
Fields
pub time: ::timeval
pub type_: ::__u16
pub code: ::__u16
pub value: ::__s32
Trait Implementations
impl Clone for input_event
fn clone(&Self) -> input_event
impl Copy for input_event
impl Debug for input_event
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for input_event
impl Hash for input_event
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<input_event> for input_event
fn eq(&Self, other: &input_event) -> bool
fn ne(&Self, other: &input_event) -> bool
impl StructuralEq for input_event
impl StructuralPartialEq for input_event
Auto Trait Implementations
impl RefUnwindSafe for input_event
impl Send for input_event
impl Sync for input_event
impl Unpin for input_event
impl UnwindSafe for input_event
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T