Struct pax_runtime_api::KeyboardEventArgs
source · pub struct KeyboardEventArgs {
pub key: String,
pub modifiers: Vec<ModifierKey>,
pub is_repeat: bool,
}
Expand description
Common properties in keyboard events.
Fields§
§key: String
§modifiers: Vec<ModifierKey>
§is_repeat: bool
Trait Implementations§
source§impl Clone for KeyboardEventArgs
impl Clone for KeyboardEventArgs
source§fn clone(&self) -> KeyboardEventArgs
fn clone(&self) -> KeyboardEventArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for KeyboardEventArgs
impl Send for KeyboardEventArgs
impl Sync for KeyboardEventArgs
impl Unpin for KeyboardEventArgs
impl UnwindSafe for KeyboardEventArgs
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