Enum tcod::input::KeyCode
[−]
[src]
#[repr(C)]pub enum KeyCode { NoKey, Escape, Backspace, Tab, Enter, Shift, Control, Alt, Pause, CapsLock, PageUp, PageDown, End, Home, Up, Left, Right, Down, PrintScreen, Insert, Delete, LeftWin, RightWin, Apps, Number0, Number1, Number2, Number3, Number4, Number5, Number6, Number7, Number8, Number9, NumPad0, NumPad1, NumPad2, NumPad3, NumPad4, NumPad5, NumPad6, NumPad7, NumPad8, NumPad9, NumPadAdd, NumPadSubtract, NumPadDivide, NumPadMultiply, NumPadDecimal, NumPadEnter, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, NumLock, ScrollLock, Spacebar, Char, }
Variants
NoKey
Escape
Backspace
Tab
Enter
Shift
Control
Alt
Pause
CapsLock
PageUp
PageDown
End
Home
Up
Left
Right
Down
PrintScreen
Insert
Delete
LeftWin
RightWin
Apps
Number0
Number1
Number2
Number3
Number4
Number5
Number6
Number7
Number8
Number9
NumPad0
NumPad1
NumPad2
NumPad3
NumPad4
NumPad5
NumPad6
NumPad7
NumPad8
NumPad9
NumPadAdd
NumPadSubtract
NumPadDivide
NumPadMultiply
NumPadDecimal
NumPadEnter
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
NumLock
ScrollLock
Spacebar
Char
Trait Implementations
impl Copy for KeyCode
[src]
impl Clone for KeyCode
[src]
fn clone(&self) -> KeyCode
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 PartialEq for KeyCode
[src]
fn eq(&self, __arg_0: &KeyCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.