#[repr(C)]
pub struct kbd_state_t {
pub cond: kbd_cond_t,
pub matrix: [u8; 256],
pub shift_keys: c_int,
pub region: c_int,
pub key_queue: [u32; 16],
pub queue_tail: c_int,
pub queue_head: c_int,
pub queue_len: c_int,
pub kbd_repeat_key: u8,
pub kbd_repeat_timer: u64,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.