pub struct KeyChord {
pub modifiers: Modifiers,
pub key: Key,
}Expand description
A key plus the modifiers held while pressing it.
Fields§
§modifiers: ModifiersHeld modifiers.
key: KeyThe key pressed.
Implementations§
Trait Implementations§
impl Copy for KeyChord
impl Eq for KeyChord
impl StructuralPartialEq for KeyChord
Auto Trait Implementations§
impl Forget for KeyChord
impl Freeze for KeyChord
impl RefUnwindSafe for KeyChord
impl Send for KeyChord
impl Sync for KeyChord
impl Unpin for KeyChord
impl UnsafeUnpin for KeyChord
impl UnwindSafe for KeyChord
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