pub struct KeyPattern {
pub code: KeyCode,
pub mods: KeyModifiers,
}Fields§
§code: KeyCode§mods: KeyModifiersImplementations§
Trait Implementations§
Source§impl Clone for KeyPattern
impl Clone for KeyPattern
Source§fn clone(&self) -> KeyPattern
fn clone(&self) -> KeyPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeyPattern
Source§impl Debug for KeyPattern
impl Debug for KeyPattern
impl Eq for KeyPattern
Source§impl PartialEq for KeyPattern
impl PartialEq for KeyPattern
impl StructuralPartialEq for KeyPattern
Auto Trait Implementations§
impl Freeze for KeyPattern
impl RefUnwindSafe for KeyPattern
impl Send for KeyPattern
impl Sync for KeyPattern
impl Unpin for KeyPattern
impl UnsafeUnpin for KeyPattern
impl UnwindSafe for KeyPattern
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.