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
NoKeyEscapeBackspaceTabEnterShiftControlAltPauseCapsLockPageUpPageDownEndHomeUpLeftRightDownPrintScreenInsertDeleteLeftWinRightWinAppsNumber0Number1Number2Number3Number4Number5Number6Number7Number8Number9NumPad0NumPad1NumPad2NumPad3NumPad4NumPad5NumPad6NumPad7NumPad8NumPad9NumPadAddNumPadSubtractNumPadDivideNumPadMultiplyNumPadDecimalNumPadEnterF1F2F3F4F5F6F7F8F9F10F11F12NumLockScrollLockSpacebarCharTrait 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) -> bool1.0.0
This method tests for !=.