pub struct KeyEvent {
pub size: usize,
pub type_: KeyEventType,
pub modifiers: u32,
pub windows_key_code: c_int,
pub native_key_code: c_int,
pub is_system_key: c_int,
pub character: char16_t,
pub unmodified_character: char16_t,
pub focus_on_editable_field: c_int,
}Expand description
See _cef_key_event_t for more documentation.
Fields§
§size: usize§type_: KeyEventType§modifiers: u32§windows_key_code: c_int§native_key_code: c_int§is_system_key: c_int§character: char16_t§unmodified_character: char16_t§focus_on_editable_field: c_intTrait Implementations§
Source§impl From<KeyEvent> for _cef_key_event_t
impl From<KeyEvent> for _cef_key_event_t
Source§impl From<_cef_key_event_t> for KeyEvent
impl From<_cef_key_event_t> for KeyEvent
Source§fn from(value: _cef_key_event_t) -> Self
fn from(value: _cef_key_event_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyEvent
impl RefUnwindSafe for KeyEvent
impl Send for KeyEvent
impl Sync for KeyEvent
impl Unpin for KeyEvent
impl UnwindSafe for KeyEvent
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