Enum mg_settings::key::Key
[−]
[src]
pub enum Key { Alt(Box<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
Alt(Box<Key>)
Alt + another key.
Backspace
Backspace key.
Char(char)
A single-character key.
Control(Box<Key>)
Control + another key.
Down
Down arrow.
Enter
Enter key.
Escape
Escape key.
F1
Function key 1
F2
Function key 2
F3
Function key 3
F4
Function key 4
F5
Function key 5
F6
Function key 6
F7
Function key 7
F8
Function key 8
F9
Function key 9
F10
Function key 10
F11
Function key 11
F12
Function key 12
Left
Left arrow.
Right
Right arrow.
Shift(Box<Key>)
Shift + another key.
Space
Space key.
Tab
Tab key.
Up
Up arrow.
Trait Implementations
impl Clone for Key
[src]
fn clone(&self) -> Key
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
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
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Key) -> bool
[src]
This method tests for !=
.