Struct InputKeyEvent
pub struct InputKeyEvent<'a> {
pub key: &'a str,
pub action: KeyAction,
pub modifiers: u32,
}Expand description
What Hooks::input_key is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§key: &'a str§action: KeyAction§modifiers: u32Auto Trait Implementations§
impl<'a> Freeze for InputKeyEvent<'a>
impl<'a> RefUnwindSafe for InputKeyEvent<'a>
impl<'a> Send for InputKeyEvent<'a>
impl<'a> Sync for InputKeyEvent<'a>
impl<'a> Unpin for InputKeyEvent<'a>
impl<'a> UnsafeUnpin for InputKeyEvent<'a>
impl<'a> UnwindSafe for InputKeyEvent<'a>
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