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 duplicate 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 Freeze for KeyboardEventArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.