Struct breadx::auto::xinput::KeyInfo [−][src]
pub struct KeyInfo { pub class_id: InputClass, pub len: u8, pub min_keycode: KeyCode, pub max_keycode: KeyCode, pub num_keys: u16, }
Fields
class_id: InputClass
len: u8
min_keycode: KeyCode
max_keycode: KeyCode
num_keys: u16
Trait Implementations
Convert a sequence of bytes into this item.
Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more
If this item has any file descriptors stored within, this function returns them.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for KeyInfo
impl UnwindSafe for KeyInfo
Blanket Implementations
Mutably borrows from an owned value. Read more