#[repr(C)]
pub struct input_keymap_entry { pub flags: __u8, pub len: __u8, pub index: __u16, pub keycode: __u32, pub scancode: [__u8; 32], }

Fields

flags: __u8len: __u8index: __u16keycode: __u32scancode: [__u8; 32]

Trait Implementations

source

impl Clone for input_keymap_entry

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

source

impl Copy for input_keymap_entry

Auto Trait Implementations

Blanket Implementations

source

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

Gets the TypeId of self. Read more

source

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

Immutably borrows from an owned value. Read more

source

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

Mutably borrows from an owned value. Read more

source

impl<T> From<T> for T

Returns the argument unchanged.

source

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source

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

The type returned in the event of a conversion error.

Performs the conversion.

source

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

The type returned in the event of a conversion error.

Performs the conversion.