pub enum KeySequenceItem {
Control,
Meta,
Byte(u8),
}Expand description
Represents an element of a key sequence.
Variants§
Trait Implementations§
Source§impl Clone for KeySequenceItem
impl Clone for KeySequenceItem
Source§fn clone(&self) -> KeySequenceItem
fn clone(&self) -> KeySequenceItem
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 KeySequenceItem
impl Debug for KeySequenceItem
Source§impl PartialEq for KeySequenceItem
impl PartialEq for KeySequenceItem
impl Eq for KeySequenceItem
impl StructuralPartialEq for KeySequenceItem
Auto Trait Implementations§
impl Freeze for KeySequenceItem
impl RefUnwindSafe for KeySequenceItem
impl Send for KeySequenceItem
impl Sync for KeySequenceItem
impl Unpin for KeySequenceItem
impl UnwindSafe for KeySequenceItem
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.