#[repr(C)]pub struct KeyStatusUpdate {
pub modifiers: u8,
pub reserved: u8,
pub keypress: [Option<NonZeroU8>; 6],
}Fields§
§modifiers: u8Modifier keys bitmask (LeftCtrl, LeftShift, LeftAlt, LeftGUI, RightCtrl, RightShift, RightAlt, RightGUI).
reserved: u8Reserved (OEM).
keypress: [Option<NonZeroU8>; 6]Keycodes of currently pressed keys (0 = not pressed, 1 = rollover).
Trait Implementations§
Source§impl Debug for KeyStatusUpdate
impl Debug for KeyStatusUpdate
Auto Trait Implementations§
impl Freeze for KeyStatusUpdate
impl RefUnwindSafe for KeyStatusUpdate
impl Send for KeyStatusUpdate
impl Sync for KeyStatusUpdate
impl Unpin for KeyStatusUpdate
impl UnwindSafe for KeyStatusUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more