pub struct KeyWithModifiers {
pub key: KeyKind,
pub mods: KeyModifiers,
}Expand description
A modifier-aware key press.
Fields§
§key: KeyKind§mods: KeyModifiersTrait Implementations§
Source§impl Clone for KeyWithModifiers
impl Clone for KeyWithModifiers
Source§fn clone(&self) -> KeyWithModifiers
fn clone(&self) -> KeyWithModifiers
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 moreSource§impl Debug for KeyWithModifiers
impl Debug for KeyWithModifiers
Source§impl PartialEq for KeyWithModifiers
impl PartialEq for KeyWithModifiers
impl Copy for KeyWithModifiers
impl Eq for KeyWithModifiers
impl StructuralPartialEq for KeyWithModifiers
Auto Trait Implementations§
impl Freeze for KeyWithModifiers
impl RefUnwindSafe for KeyWithModifiers
impl Send for KeyWithModifiers
impl Sync for KeyWithModifiers
impl Unpin for KeyWithModifiers
impl UnsafeUnpin for KeyWithModifiers
impl UnwindSafe for KeyWithModifiers
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