Struct show_image::event::WindowKeyboardInputEvent [−][src]
pub struct WindowKeyboardInputEvent {
pub window_id: WindowId,
pub device_id: DeviceId,
pub input: KeyboardInput,
pub is_synthetic: bool,
}
Expand description
A window received keyboard input.
Fields
window_id: WindowId
The ID of the window.
device_id: DeviceId
The device that generated the input.
input: KeyboardInput
The received input.
is_synthetic: bool
Flag to indicate if the input is synthetic.
Some synthetic events may be generated to report changes in keyboard state while the window did not have input focus. This flag allows you to distinguish such events.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for WindowKeyboardInputEvent
impl Send for WindowKeyboardInputEvent
impl Sync for WindowKeyboardInputEvent
impl Unpin for WindowKeyboardInputEvent
impl UnwindSafe for WindowKeyboardInputEvent
Blanket Implementations
Mutably borrows from an owned value. Read more