pub struct Key {Show 20 fields
pub up_arrow: bool,
pub down_arrow: bool,
pub left_arrow: bool,
pub right_arrow: bool,
pub page_down: bool,
pub page_up: bool,
pub wheel_up: bool,
pub wheel_down: bool,
pub home: bool,
pub end: bool,
pub return_key: bool,
pub escape: bool,
pub ctrl: bool,
pub shift: bool,
pub fn_key: bool,
pub tab: bool,
pub backspace: bool,
pub delete: bool,
pub meta: bool,
pub super_key: bool,
}Expand description
Keyboard key representation with all modifier flags and special key indicators.
Fields§
§up_arrow: bool§down_arrow: bool§left_arrow: bool§right_arrow: bool§page_down: bool§page_up: bool§wheel_up: bool§wheel_down: bool§home: bool§end: bool§return_key: bool§escape: bool§ctrl: bool§shift: bool§fn_key: bool§tab: bool§backspace: bool§delete: bool§meta: bool§super_key: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnsafeUnpin for Key
impl UnwindSafe for Key
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