Enum mg_settings::key::Key
[−]
[src]
pub enum Key {
Backspace,
Char(char),
Control(Box<Key>),
Down,
Enter,
Escape,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
Left,
Right,
Shift(Box<Key>),
Space,
Tab,
Up,
}Enum representing the keys that can be used in a mapping.
Variants
BackspaceBackspace key.
Char(char)A single-character key.
Control(Box<Key>)Control + another key.
DownDown arrow.
EnterEnter key.
EscapeEscape key.
F1Function key 1
F2Function key 2
F3Function key 3
F4Function key 4
F5Function key 5
F6Function key 6
F7Function key 7
F8Function key 8
F9Function key 9
F10Function key 10
F11Function key 11
F12Function key 12
LeftLeft arrow.
RightRight arrow.
Shift(Box<Key>)Shift + another key.
SpaceSpace key.
TabTab key.
UpUp arrow.
Trait Implementations
impl Clone for Key[src]
fn clone(&self) -> Key
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Key[src]
impl Eq for Key[src]
impl Hash for Key[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for Key[src]
fn eq(&self, __arg_0: &Key) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Key) -> bool
This method tests for !=.