#[repr(transparent)]pub struct KeyCode(pub u16);Expand description
Scancodes for key presses.
Values correspond to /usr/include/linux/input-event-codes.h
Each associated constant for this struct represents a distinct key.
Tuple Fields§
§0: u16Implementations§
Source§impl KeyCode
impl KeyCode
pub const KEY_RESERVED: KeyCode
pub const KEY_ESC: KeyCode
pub const KEY_1: KeyCode
pub const KEY_2: KeyCode
pub const KEY_3: KeyCode
pub const KEY_4: KeyCode
pub const KEY_5: KeyCode
pub const KEY_6: KeyCode
pub const KEY_7: KeyCode
pub const KEY_8: KeyCode
pub const KEY_9: KeyCode
pub const KEY_0: KeyCode
pub const KEY_MINUS: KeyCode
pub const KEY_EQUAL: KeyCode
pub const KEY_BACKSPACE: KeyCode
pub const KEY_TAB: KeyCode
pub const KEY_Q: KeyCode
pub const KEY_W: KeyCode
pub const KEY_E: KeyCode
pub const KEY_R: KeyCode
pub const KEY_T: KeyCode
pub const KEY_Y: KeyCode
pub const KEY_U: KeyCode
pub const KEY_I: KeyCode
pub const KEY_O: KeyCode
pub const KEY_P: KeyCode
pub const KEY_LEFTBRACE: KeyCode
pub const KEY_RIGHTBRACE: KeyCode
pub const KEY_ENTER: KeyCode
pub const KEY_LEFTCTRL: KeyCode
pub const KEY_A: KeyCode
pub const KEY_S: KeyCode
pub const KEY_D: KeyCode
pub const KEY_F: KeyCode
pub const KEY_G: KeyCode
pub const KEY_H: KeyCode
pub const KEY_J: KeyCode
pub const KEY_K: KeyCode
pub const KEY_L: KeyCode
pub const KEY_SEMICOLON: KeyCode
pub const KEY_APOSTROPHE: KeyCode
pub const KEY_GRAVE: KeyCode
pub const KEY_LEFTSHIFT: KeyCode
pub const KEY_BACKSLASH: KeyCode
pub const KEY_Z: KeyCode
pub const KEY_X: KeyCode
pub const KEY_C: KeyCode
pub const KEY_V: KeyCode
pub const KEY_B: KeyCode
pub const KEY_N: KeyCode
pub const KEY_M: KeyCode
pub const KEY_COMMA: KeyCode
pub const KEY_DOT: KeyCode
pub const KEY_SLASH: KeyCode
pub const KEY_RIGHTSHIFT: KeyCode
pub const KEY_KPASTERISK: KeyCode
pub const KEY_LEFTALT: KeyCode
pub const KEY_SPACE: KeyCode
pub const KEY_CAPSLOCK: KeyCode
pub const KEY_F1: KeyCode
pub const KEY_F2: KeyCode
pub const KEY_F3: KeyCode
pub const KEY_F4: KeyCode
pub const KEY_F5: KeyCode
pub const KEY_F6: KeyCode
pub const KEY_F7: KeyCode
pub const KEY_F8: KeyCode
pub const KEY_F9: KeyCode
pub const KEY_F10: KeyCode
pub const KEY_NUMLOCK: KeyCode
pub const KEY_SCROLLLOCK: KeyCode
pub const KEY_KP7: KeyCode
pub const KEY_KP8: KeyCode
pub const KEY_KP9: KeyCode
pub const KEY_KPMINUS: KeyCode
pub const KEY_KP4: KeyCode
pub const KEY_KP5: KeyCode
pub const KEY_KP6: KeyCode
pub const KEY_KPPLUS: KeyCode
pub const KEY_KP1: KeyCode
pub const KEY_KP2: KeyCode
pub const KEY_KP3: KeyCode
pub const KEY_KP0: KeyCode
pub const KEY_KPDOT: KeyCode
pub const KEY_ZENKAKUHANKAKU: KeyCode
pub const KEY_102ND: KeyCode
pub const KEY_F11: KeyCode
pub const KEY_F12: KeyCode
pub const KEY_RO: KeyCode
pub const KEY_KATAKANA: KeyCode
pub const KEY_HIRAGANA: KeyCode
pub const KEY_HENKAN: KeyCode
pub const KEY_KATAKANAHIRAGANA: KeyCode
pub const KEY_MUHENKAN: KeyCode
pub const KEY_KPJPCOMMA: KeyCode
pub const KEY_KPENTER: KeyCode
pub const KEY_RIGHTCTRL: KeyCode
pub const KEY_KPSLASH: KeyCode
pub const KEY_SYSRQ: KeyCode
pub const KEY_RIGHTALT: KeyCode
pub const KEY_LINEFEED: KeyCode
pub const KEY_HOME: KeyCode
pub const KEY_UP: KeyCode
pub const KEY_PAGEUP: KeyCode
pub const KEY_LEFT: KeyCode
pub const KEY_RIGHT: KeyCode
pub const KEY_END: KeyCode
pub const KEY_DOWN: KeyCode
pub const KEY_PAGEDOWN: KeyCode
pub const KEY_INSERT: KeyCode
pub const KEY_DELETE: KeyCode
pub const KEY_MACRO: KeyCode
pub const KEY_MUTE: KeyCode
pub const KEY_VOLUMEDOWN: KeyCode
pub const KEY_VOLUMEUP: KeyCode
pub const KEY_POWER: KeyCode
pub const KEY_KPEQUAL: KeyCode
pub const KEY_KPPLUSMINUS: KeyCode
pub const KEY_PAUSE: KeyCode
pub const KEY_SCALE: KeyCode
pub const KEY_KPCOMMA: KeyCode
pub const KEY_HANGEUL: KeyCode
pub const KEY_HANJA: KeyCode
pub const KEY_YEN: KeyCode
pub const KEY_LEFTMETA: KeyCode
pub const KEY_RIGHTMETA: KeyCode
pub const KEY_COMPOSE: KeyCode
pub const KEY_STOP: KeyCode
pub const KEY_AGAIN: KeyCode
pub const KEY_PROPS: KeyCode
pub const KEY_UNDO: KeyCode
pub const KEY_FRONT: KeyCode
pub const KEY_COPY: KeyCode
pub const KEY_OPEN: KeyCode
pub const KEY_PASTE: KeyCode
pub const KEY_FIND: KeyCode
pub const KEY_CUT: KeyCode
pub const KEY_HELP: KeyCode
pub const KEY_MENU: KeyCode
pub const KEY_CALC: KeyCode
pub const KEY_SETUP: KeyCode
pub const KEY_SLEEP: KeyCode
pub const KEY_WAKEUP: KeyCode
pub const KEY_FILE: KeyCode
pub const KEY_SENDFILE: KeyCode
pub const KEY_DELETEFILE: KeyCode
pub const KEY_XFER: KeyCode
pub const KEY_PROG1: KeyCode
pub const KEY_PROG2: KeyCode
pub const KEY_WWW: KeyCode
pub const KEY_MSDOS: KeyCode
pub const KEY_COFFEE: KeyCode
pub const KEY_DIRECTION: KeyCode
pub const KEY_ROTATE_DISPLAY: KeyCode
pub const KEY_CYCLEWINDOWS: KeyCode
pub const KEY_MAIL: KeyCode
pub const KEY_BOOKMARKS: KeyCode
pub const KEY_COMPUTER: KeyCode
pub const KEY_BACK: KeyCode
pub const KEY_FORWARD: KeyCode
pub const KEY_CLOSECD: KeyCode
pub const KEY_EJECTCD: KeyCode
pub const KEY_EJECTCLOSECD: KeyCode
pub const KEY_NEXTSONG: KeyCode
pub const KEY_PLAYPAUSE: KeyCode
pub const KEY_PREVIOUSSONG: KeyCode
pub const KEY_STOPCD: KeyCode
pub const KEY_RECORD: KeyCode
pub const KEY_REWIND: KeyCode
pub const KEY_PHONE: KeyCode
pub const KEY_ISO: KeyCode
pub const KEY_CONFIG: KeyCode
pub const KEY_HOMEPAGE: KeyCode
pub const KEY_REFRESH: KeyCode
pub const KEY_EXIT: KeyCode
pub const KEY_MOVE: KeyCode
pub const KEY_EDIT: KeyCode
pub const KEY_SCROLLUP: KeyCode
pub const KEY_SCROLLDOWN: KeyCode
pub const KEY_KPLEFTPAREN: KeyCode
pub const KEY_KPRIGHTPAREN: KeyCode
pub const KEY_NEW: KeyCode
pub const KEY_REDO: KeyCode
pub const KEY_F13: KeyCode
pub const KEY_F14: KeyCode
pub const KEY_F15: KeyCode
pub const KEY_F16: KeyCode
pub const KEY_F17: KeyCode
pub const KEY_F18: KeyCode
pub const KEY_F19: KeyCode
pub const KEY_F20: KeyCode
pub const KEY_F21: KeyCode
pub const KEY_F22: KeyCode
pub const KEY_F23: KeyCode
pub const KEY_F24: KeyCode
pub const KEY_PLAYCD: KeyCode
pub const KEY_PAUSECD: KeyCode
pub const KEY_PROG3: KeyCode
pub const KEY_PROG4: KeyCode
pub const KEY_DASHBOARD: KeyCode
pub const KEY_SUSPEND: KeyCode
pub const KEY_CLOSE: KeyCode
pub const KEY_PLAY: KeyCode
pub const KEY_FASTFORWARD: KeyCode
pub const KEY_BASSBOOST: KeyCode
pub const KEY_PRINT: KeyCode
pub const KEY_HP: KeyCode
pub const KEY_CAMERA: KeyCode
pub const KEY_SOUND: KeyCode
pub const KEY_QUESTION: KeyCode
pub const KEY_EMAIL: KeyCode
pub const KEY_CHAT: KeyCode
pub const KEY_SEARCH: KeyCode
pub const KEY_CONNECT: KeyCode
pub const KEY_FINANCE: KeyCode
pub const KEY_SPORT: KeyCode
pub const KEY_SHOP: KeyCode
pub const KEY_ALTERASE: KeyCode
pub const KEY_CANCEL: KeyCode
pub const KEY_BRIGHTNESSDOWN: KeyCode
pub const KEY_BRIGHTNESSUP: KeyCode
pub const KEY_MEDIA: KeyCode
pub const KEY_SWITCHVIDEOMODE: KeyCode
pub const KEY_KBDILLUMTOGGLE: KeyCode
pub const KEY_KBDILLUMDOWN: KeyCode
pub const KEY_KBDILLUMUP: KeyCode
pub const KEY_SEND: KeyCode
pub const KEY_REPLY: KeyCode
pub const KEY_FORWARDMAIL: KeyCode
pub const KEY_SAVE: KeyCode
pub const KEY_DOCUMENTS: KeyCode
pub const KEY_BATTERY: KeyCode
pub const KEY_BLUETOOTH: KeyCode
pub const KEY_WLAN: KeyCode
pub const KEY_UWB: KeyCode
pub const KEY_UNKNOWN: KeyCode
pub const KEY_VIDEO_NEXT: KeyCode
pub const KEY_VIDEO_PREV: KeyCode
pub const KEY_BRIGHTNESS_CYCLE: KeyCode
pub const KEY_BRIGHTNESS_AUTO: KeyCode
pub const KEY_DISPLAY_OFF: KeyCode
pub const KEY_WWAN: KeyCode
pub const KEY_RFKILL: KeyCode
pub const KEY_MICMUTE: KeyCode
pub const BTN_0: KeyCode
pub const BTN_1: KeyCode
pub const BTN_2: KeyCode
pub const BTN_3: KeyCode
pub const BTN_4: KeyCode
pub const BTN_5: KeyCode
pub const BTN_6: KeyCode
pub const BTN_7: KeyCode
pub const BTN_8: KeyCode
pub const BTN_9: KeyCode
pub const BTN_LEFT: KeyCode
pub const BTN_RIGHT: KeyCode
pub const BTN_MIDDLE: KeyCode
pub const BTN_SIDE: KeyCode
pub const BTN_EXTRA: KeyCode
pub const BTN_FORWARD: KeyCode
pub const BTN_BACK: KeyCode
pub const BTN_TASK: KeyCode
pub const BTN_TRIGGER: KeyCode
pub const BTN_THUMB: KeyCode
pub const BTN_THUMB2: KeyCode
pub const BTN_TOP: KeyCode
pub const BTN_TOP2: KeyCode
pub const BTN_PINKIE: KeyCode
pub const BTN_BASE: KeyCode
pub const BTN_BASE2: KeyCode
pub const BTN_BASE3: KeyCode
pub const BTN_BASE4: KeyCode
pub const BTN_BASE5: KeyCode
pub const BTN_BASE6: KeyCode
pub const BTN_DEAD: KeyCode
pub const BTN_SOUTH: KeyCode
pub const BTN_EAST: KeyCode
pub const BTN_C: KeyCode
pub const BTN_NORTH: KeyCode
pub const BTN_WEST: KeyCode
pub const BTN_Z: KeyCode
pub const BTN_TL: KeyCode
pub const BTN_TR: KeyCode
pub const BTN_TL2: KeyCode
pub const BTN_TR2: KeyCode
pub const BTN_SELECT: KeyCode
pub const BTN_START: KeyCode
pub const BTN_MODE: KeyCode
pub const BTN_THUMBL: KeyCode
pub const BTN_THUMBR: KeyCode
pub const BTN_TOOL_PEN: KeyCode
pub const BTN_TOOL_RUBBER: KeyCode
pub const BTN_TOOL_BRUSH: KeyCode
pub const BTN_TOOL_PENCIL: KeyCode
pub const BTN_TOOL_AIRBRUSH: KeyCode
pub const BTN_TOOL_FINGER: KeyCode
pub const BTN_TOOL_MOUSE: KeyCode
pub const BTN_TOOL_LENS: KeyCode
pub const BTN_TOOL_QUINTTAP: KeyCode
pub const BTN_TOUCH: KeyCode
pub const BTN_STYLUS: KeyCode
pub const BTN_STYLUS2: KeyCode
pub const BTN_TOOL_DOUBLETAP: KeyCode
pub const BTN_TOOL_TRIPLETAP: KeyCode
pub const BTN_TOOL_QUADTAP: KeyCode
pub const BTN_GEAR_DOWN: KeyCode
pub const BTN_GEAR_UP: KeyCode
pub const KEY_OK: KeyCode
pub const KEY_SELECT: KeyCode
pub const KEY_GOTO: KeyCode
pub const KEY_CLEAR: KeyCode
pub const KEY_POWER2: KeyCode
pub const KEY_OPTION: KeyCode
pub const KEY_INFO: KeyCode
pub const KEY_TIME: KeyCode
pub const KEY_VENDOR: KeyCode
pub const KEY_ARCHIVE: KeyCode
pub const KEY_PROGRAM: KeyCode
pub const KEY_CHANNEL: KeyCode
pub const KEY_FAVORITES: KeyCode
pub const KEY_EPG: KeyCode
pub const KEY_PVR: KeyCode
pub const KEY_MHP: KeyCode
pub const KEY_LANGUAGE: KeyCode
pub const KEY_TITLE: KeyCode
pub const KEY_SUBTITLE: KeyCode
pub const KEY_ANGLE: KeyCode
pub const KEY_ZOOM: KeyCode
pub const KEY_FULL_SCREEN: KeyCode
pub const KEY_MODE: KeyCode
pub const KEY_KEYBOARD: KeyCode
pub const KEY_SCREEN: KeyCode
pub const KEY_PC: KeyCode
pub const KEY_TV: KeyCode
pub const KEY_TV2: KeyCode
pub const KEY_VCR: KeyCode
pub const KEY_VCR2: KeyCode
pub const KEY_SAT: KeyCode
pub const KEY_SAT2: KeyCode
pub const KEY_CD: KeyCode
pub const KEY_TAPE: KeyCode
pub const KEY_RADIO: KeyCode
pub const KEY_TUNER: KeyCode
pub const KEY_PLAYER: KeyCode
pub const KEY_TEXT: KeyCode
pub const KEY_DVD: KeyCode
pub const KEY_AUX: KeyCode
pub const KEY_MP3: KeyCode
pub const KEY_AUDIO: KeyCode
pub const KEY_VIDEO: KeyCode
pub const KEY_DIRECTORY: KeyCode
pub const KEY_LIST: KeyCode
pub const KEY_MEMO: KeyCode
pub const KEY_CALENDAR: KeyCode
pub const KEY_RED: KeyCode
pub const KEY_GREEN: KeyCode
pub const KEY_YELLOW: KeyCode
pub const KEY_BLUE: KeyCode
pub const KEY_CHANNELUP: KeyCode
pub const KEY_CHANNELDOWN: KeyCode
pub const KEY_FIRST: KeyCode
pub const KEY_LAST: KeyCode
pub const KEY_AB: KeyCode
pub const KEY_NEXT: KeyCode
pub const KEY_RESTART: KeyCode
pub const KEY_SLOW: KeyCode
pub const KEY_SHUFFLE: KeyCode
pub const KEY_BREAK: KeyCode
pub const KEY_PREVIOUS: KeyCode
pub const KEY_DIGITS: KeyCode
pub const KEY_TEEN: KeyCode
pub const KEY_TWEN: KeyCode
pub const KEY_VIDEOPHONE: KeyCode
pub const KEY_GAMES: KeyCode
pub const KEY_ZOOMIN: KeyCode
pub const KEY_ZOOMOUT: KeyCode
pub const KEY_ZOOMRESET: KeyCode
pub const KEY_WORDPROCESSOR: KeyCode
pub const KEY_EDITOR: KeyCode
pub const KEY_SPREADSHEET: KeyCode
pub const KEY_GRAPHICSEDITOR: KeyCode
pub const KEY_PRESENTATION: KeyCode
pub const KEY_DATABASE: KeyCode
pub const KEY_NEWS: KeyCode
pub const KEY_VOICEMAIL: KeyCode
pub const KEY_ADDRESSBOOK: KeyCode
pub const KEY_MESSENGER: KeyCode
pub const KEY_DISPLAYTOGGLE: KeyCode
pub const KEY_SPELLCHECK: KeyCode
pub const KEY_LOGOFF: KeyCode
pub const KEY_DOLLAR: KeyCode
pub const KEY_EURO: KeyCode
pub const KEY_FRAMEBACK: KeyCode
pub const KEY_FRAMEFORWARD: KeyCode
pub const KEY_CONTEXT_MENU: KeyCode
pub const KEY_MEDIA_REPEAT: KeyCode
pub const KEY_10CHANNELSUP: KeyCode
pub const KEY_10CHANNELSDOWN: KeyCode
pub const KEY_IMAGES: KeyCode
pub const KEY_PICKUP_PHONE: KeyCode
pub const KEY_HANGUP_PHONE: KeyCode
pub const KEY_DEL_EOL: KeyCode
pub const KEY_DEL_EOS: KeyCode
pub const KEY_INS_LINE: KeyCode
pub const KEY_DEL_LINE: KeyCode
pub const KEY_FN: KeyCode
pub const KEY_FN_ESC: KeyCode
pub const KEY_FN_F1: KeyCode
pub const KEY_FN_F2: KeyCode
pub const KEY_FN_F3: KeyCode
pub const KEY_FN_F4: KeyCode
pub const KEY_FN_F5: KeyCode
pub const KEY_FN_F6: KeyCode
pub const KEY_FN_F7: KeyCode
pub const KEY_FN_F8: KeyCode
pub const KEY_FN_F9: KeyCode
pub const KEY_FN_F10: KeyCode
pub const KEY_FN_F11: KeyCode
pub const KEY_FN_F12: KeyCode
pub const KEY_FN_1: KeyCode
pub const KEY_FN_2: KeyCode
pub const KEY_FN_D: KeyCode
pub const KEY_FN_E: KeyCode
pub const KEY_FN_F: KeyCode
pub const KEY_FN_S: KeyCode
pub const KEY_FN_B: KeyCode
pub const KEY_BRL_DOT1: KeyCode
pub const KEY_BRL_DOT2: KeyCode
pub const KEY_BRL_DOT3: KeyCode
pub const KEY_BRL_DOT4: KeyCode
pub const KEY_BRL_DOT5: KeyCode
pub const KEY_BRL_DOT6: KeyCode
pub const KEY_BRL_DOT7: KeyCode
pub const KEY_BRL_DOT8: KeyCode
pub const KEY_BRL_DOT9: KeyCode
pub const KEY_BRL_DOT10: KeyCode
pub const KEY_NUMERIC_0: KeyCode
pub const KEY_NUMERIC_1: KeyCode
pub const KEY_NUMERIC_2: KeyCode
pub const KEY_NUMERIC_3: KeyCode
pub const KEY_NUMERIC_4: KeyCode
pub const KEY_NUMERIC_5: KeyCode
pub const KEY_NUMERIC_6: KeyCode
pub const KEY_NUMERIC_7: KeyCode
pub const KEY_NUMERIC_8: KeyCode
pub const KEY_NUMERIC_9: KeyCode
pub const KEY_NUMERIC_STAR: KeyCode
pub const KEY_NUMERIC_POUND: KeyCode
pub const KEY_NUMERIC_A: KeyCode
pub const KEY_NUMERIC_B: KeyCode
pub const KEY_NUMERIC_C: KeyCode
pub const KEY_NUMERIC_D: KeyCode
pub const KEY_CAMERA_FOCUS: KeyCode
pub const KEY_WPS_BUTTON: KeyCode
pub const KEY_TOUCHPAD_TOGGLE: KeyCode
pub const KEY_TOUCHPAD_ON: KeyCode
pub const KEY_TOUCHPAD_OFF: KeyCode
pub const KEY_CAMERA_ZOOMIN: KeyCode
pub const KEY_CAMERA_ZOOMOUT: KeyCode
pub const KEY_CAMERA_UP: KeyCode
pub const KEY_CAMERA_DOWN: KeyCode
pub const KEY_CAMERA_LEFT: KeyCode
pub const KEY_CAMERA_RIGHT: KeyCode
pub const KEY_ATTENDANT_ON: KeyCode
pub const KEY_ATTENDANT_OFF: KeyCode
pub const KEY_ATTENDANT_TOGGLE: KeyCode
pub const KEY_LIGHTS_TOGGLE: KeyCode
pub const BTN_DPAD_UP: KeyCode
pub const BTN_DPAD_DOWN: KeyCode
pub const BTN_DPAD_LEFT: KeyCode
pub const BTN_DPAD_RIGHT: KeyCode
pub const KEY_ALS_TOGGLE: KeyCode
pub const KEY_BUTTONCONFIG: KeyCode
pub const KEY_TASKMANAGER: KeyCode
pub const KEY_JOURNAL: KeyCode
pub const KEY_CONTROLPANEL: KeyCode
pub const KEY_APPSELECT: KeyCode
pub const KEY_SCREENSAVER: KeyCode
pub const KEY_VOICECOMMAND: KeyCode
pub const KEY_ASSISTANT: KeyCode
pub const KEY_KBD_LAYOUT_NEXT: KeyCode
pub const KEY_BRIGHTNESS_MIN: KeyCode
pub const KEY_BRIGHTNESS_MAX: KeyCode
pub const KEY_KBDINPUTASSIST_PREV: KeyCode
pub const KEY_KBDINPUTASSIST_NEXT: KeyCode
pub const KEY_KBDINPUTASSIST_PREVGROUP: KeyCode
pub const KEY_KBDINPUTASSIST_NEXTGROUP: KeyCode
pub const KEY_KBDINPUTASSIST_ACCEPT: KeyCode
pub const KEY_KBDINPUTASSIST_CANCEL: KeyCode
pub const KEY_RIGHT_UP: KeyCode
pub const KEY_RIGHT_DOWN: KeyCode
pub const KEY_LEFT_UP: KeyCode
pub const KEY_LEFT_DOWN: KeyCode
pub const KEY_ROOT_MENU: KeyCode
pub const KEY_MEDIA_TOP_MENU: KeyCode
pub const KEY_NUMERIC_11: KeyCode
pub const KEY_NUMERIC_12: KeyCode
pub const KEY_AUDIO_DESC: KeyCode
pub const KEY_3D_MODE: KeyCode
pub const KEY_NEXT_FAVORITE: KeyCode
pub const KEY_STOP_RECORD: KeyCode
pub const KEY_PAUSE_RECORD: KeyCode
pub const KEY_VOD: KeyCode
pub const KEY_UNMUTE: KeyCode
pub const KEY_FASTREVERSE: KeyCode
pub const KEY_SLOWREVERSE: KeyCode
pub const KEY_DATA: KeyCode
pub const KEY_ONSCREEN_KEYBOARD: KeyCode
pub const KEY_PRIVACY_SCREEN_TOGGLE: KeyCode
pub const KEY_SELECTIVE_SCREENSHOT: KeyCode
pub const BTN_TRIGGER_HAPPY1: KeyCode
pub const BTN_TRIGGER_HAPPY2: KeyCode
pub const BTN_TRIGGER_HAPPY3: KeyCode
pub const BTN_TRIGGER_HAPPY4: KeyCode
pub const BTN_TRIGGER_HAPPY5: KeyCode
pub const BTN_TRIGGER_HAPPY6: KeyCode
pub const BTN_TRIGGER_HAPPY7: KeyCode
pub const BTN_TRIGGER_HAPPY8: KeyCode
pub const BTN_TRIGGER_HAPPY9: KeyCode
pub const BTN_TRIGGER_HAPPY10: KeyCode
pub const BTN_TRIGGER_HAPPY11: KeyCode
pub const BTN_TRIGGER_HAPPY12: KeyCode
pub const BTN_TRIGGER_HAPPY13: KeyCode
pub const BTN_TRIGGER_HAPPY14: KeyCode
pub const BTN_TRIGGER_HAPPY15: KeyCode
pub const BTN_TRIGGER_HAPPY16: KeyCode
pub const BTN_TRIGGER_HAPPY17: KeyCode
pub const BTN_TRIGGER_HAPPY18: KeyCode
pub const BTN_TRIGGER_HAPPY19: KeyCode
pub const BTN_TRIGGER_HAPPY20: KeyCode
pub const BTN_TRIGGER_HAPPY21: KeyCode
pub const BTN_TRIGGER_HAPPY22: KeyCode
pub const BTN_TRIGGER_HAPPY23: KeyCode
pub const BTN_TRIGGER_HAPPY24: KeyCode
pub const BTN_TRIGGER_HAPPY25: KeyCode
pub const BTN_TRIGGER_HAPPY26: KeyCode
pub const BTN_TRIGGER_HAPPY27: KeyCode
pub const BTN_TRIGGER_HAPPY28: KeyCode
pub const BTN_TRIGGER_HAPPY29: KeyCode
pub const BTN_TRIGGER_HAPPY30: KeyCode
pub const BTN_TRIGGER_HAPPY31: KeyCode
pub const BTN_TRIGGER_HAPPY32: KeyCode
pub const BTN_TRIGGER_HAPPY33: KeyCode
pub const BTN_TRIGGER_HAPPY34: KeyCode
pub const BTN_TRIGGER_HAPPY35: KeyCode
pub const BTN_TRIGGER_HAPPY36: KeyCode
pub const BTN_TRIGGER_HAPPY37: KeyCode
pub const BTN_TRIGGER_HAPPY38: KeyCode
pub const BTN_TRIGGER_HAPPY39: KeyCode
pub const BTN_TRIGGER_HAPPY40: KeyCode
Trait Implementations§
impl Copy for KeyCode
impl Eq for KeyCode
Source§impl Ord for KeyCode
impl Ord for KeyCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for KeyCode
impl PartialOrd for KeyCode
impl StructuralPartialEq for KeyCode
Auto Trait Implementations§
impl Freeze for KeyCode
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnsafeUnpin for KeyCode
impl UnwindSafe for KeyCode
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,
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.