pub enum Key {
Show 27 variants
Num0,
Num1,
Num2,
Num3,
Num4,
Num5,
Num6,
Num7,
Num8,
B,
E,
I,
K,
M,
N,
P,
R,
T,
Y,
Z,
Equals,
Plus,
Minus,
ArrowLeft,
ArrowRight,
ArrowUp,
ArrowDown,
}Expand description
The keys a chord can name. Not a keyboard: the keys this app actually binds, so a binding table cannot name one no host knows how to read.
Variants§
Num0
Num1
Num2
Num3
Num4
Num5
Num6
Num7
Num8
B
E
I
K
M
N
P
R
T
Y
Z
Equals
Plus
Minus
ArrowLeft
ArrowRight
ArrowUp
ArrowDown
Trait Implementations§
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnsafeUnpin for Key
impl UnwindSafe for Key
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.