Struct sciter::windowless::KeyboardEvent
source · [−]pub struct KeyboardEvent {
pub event: KEY_EVENTS,
pub code: UINT,
pub modifiers: KEYBOARD_STATES,
}
Expand description
Events describing the keyboard input.
Fields
event: KEY_EVENTS
A specific key event, like “key down” or “key up”.
code: UINT
modifiers: KEYBOARD_STATES
Which keyboard modifier (e.g. Ctrl or Alt) is pressed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyboardEvent
impl Send for KeyboardEvent
impl Sync for KeyboardEvent
impl Unpin for KeyboardEvent
impl UnwindSafe for KeyboardEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more