pub struct ChordKey {
pub code: KeyCode,
pub modifiers: Modifiers,
}Expand description
A single key in a chord sequence (e.g., Ctrl+K in “Ctrl+K, Ctrl+C”).
Fields§
§code: KeyCode§modifiers: ModifiersImplementations§
Trait Implementations§
impl Eq for ChordKey
impl StructuralPartialEq for ChordKey
Auto Trait Implementations§
impl Freeze for ChordKey
impl RefUnwindSafe for ChordKey
impl Send for ChordKey
impl Sync for ChordKey
impl Unpin for ChordKey
impl UnsafeUnpin for ChordKey
impl UnwindSafe for ChordKey
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