#[repr(C)]pub struct KeyInput {
pub type_: byte,
pub state: byte,
pub key: UINT16,
pub modifier: UINT16,
pub unicode: UINT16,
}Expand description
@ingroup display \brief Keyboard input event structure
Fields§
§type_: byte< The value of type should have value of KEYINPUT_EVENT
state: byte< KEYDOWN = 1 or KEYUP = 0
key: UINT16< keys
modifier: UINT16< modifier
unicode: UINT16< unicode character value of the key
Trait Implementations§
impl Copy for KeyInput
Auto Trait Implementations§
impl Freeze for KeyInput
impl RefUnwindSafe for KeyInput
impl Send for KeyInput
impl Sync for KeyInput
impl Unpin for KeyInput
impl UnwindSafe for KeyInput
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