Struct input_keymap_entry

#[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: __u8
len: __u8
index: __u16
keycode: __u32
scancode: [__u8; 32]

Trait Implementations

impl Clone for input_keymap_entry

fn clone(&self) -> input_keymap_entry

impl Copy for input_keymap_entry

impl Debug for input_keymap_entry

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

impl Eq for input_keymap_entry

impl Hash for input_keymap_entry

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

impl PartialEq for input_keymap_entry

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

impl StructuralPartialEq for input_keymap_entry

Auto Trait Implementations

impl Freeze for input_keymap_entry

impl RefUnwindSafe for input_keymap_entry

impl Send for input_keymap_entry

impl Sync for input_keymap_entry

impl Unpin for input_keymap_entry

impl UnsafeUnpin for input_keymap_entry

impl UnwindSafe for input_keymap_entry

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

fn borrow_mut(&mut self) -> &mut T

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

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for input_keymap_entry

fn from(t: T) -> T

Returns the argument unchanged.

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

fn into(self) -> U

Calls U::from(self).

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

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

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>