Struct evdev::Key [−][src]
#[repr(transparent)]pub struct Key(pub u16);
Expand description
Scancodes for key presses.
Each associated constant for this struct represents a distinct key.
Implementations
impl Key
[src]
impl Key
[src]pub const KEY_RESERVED: Self
[src]
pub const KEY_ESC: Self
[src]
pub const KEY_1: Self
[src]
pub const KEY_2: Self
[src]
pub const KEY_3: Self
[src]
pub const KEY_4: Self
[src]
pub const KEY_5: Self
[src]
pub const KEY_6: Self
[src]
pub const KEY_7: Self
[src]
pub const KEY_8: Self
[src]
pub const KEY_9: Self
[src]
pub const KEY_0: Self
[src]
pub const KEY_MINUS: Self
[src]
pub const KEY_EQUAL: Self
[src]
pub const KEY_BACKSPACE: Self
[src]
pub const KEY_TAB: Self
[src]
pub const KEY_Q: Self
[src]
pub const KEY_W: Self
[src]
pub const KEY_E: Self
[src]
pub const KEY_R: Self
[src]
pub const KEY_T: Self
[src]
pub const KEY_Y: Self
[src]
pub const KEY_U: Self
[src]
pub const KEY_I: Self
[src]
pub const KEY_O: Self
[src]
pub const KEY_P: Self
[src]
pub const KEY_LEFTBRACE: Self
[src]
pub const KEY_RIGHTBRACE: Self
[src]
pub const KEY_ENTER: Self
[src]
pub const KEY_LEFTCTRL: Self
[src]
pub const KEY_A: Self
[src]
pub const KEY_S: Self
[src]
pub const KEY_D: Self
[src]
pub const KEY_F: Self
[src]
pub const KEY_G: Self
[src]
pub const KEY_H: Self
[src]
pub const KEY_J: Self
[src]
pub const KEY_K: Self
[src]
pub const KEY_L: Self
[src]
pub const KEY_SEMICOLON: Self
[src]
pub const KEY_APOSTROPHE: Self
[src]
pub const KEY_GRAVE: Self
[src]
pub const KEY_LEFTSHIFT: Self
[src]
pub const KEY_BACKSLASH: Self
[src]
pub const KEY_Z: Self
[src]
pub const KEY_X: Self
[src]
pub const KEY_C: Self
[src]
pub const KEY_V: Self
[src]
pub const KEY_B: Self
[src]
pub const KEY_N: Self
[src]
pub const KEY_M: Self
[src]
pub const KEY_COMMA: Self
[src]
pub const KEY_DOT: Self
[src]
pub const KEY_SLASH: Self
[src]
pub const KEY_RIGHTSHIFT: Self
[src]
pub const KEY_KPASTERISK: Self
[src]
pub const KEY_LEFTALT: Self
[src]
pub const KEY_SPACE: Self
[src]
pub const KEY_CAPSLOCK: Self
[src]
pub const KEY_F1: Self
[src]
pub const KEY_F2: Self
[src]
pub const KEY_F3: Self
[src]
pub const KEY_F4: Self
[src]
pub const KEY_F5: Self
[src]
pub const KEY_F6: Self
[src]
pub const KEY_F7: Self
[src]
pub const KEY_F8: Self
[src]
pub const KEY_F9: Self
[src]
pub const KEY_F10: Self
[src]
pub const KEY_NUMLOCK: Self
[src]
pub const KEY_SCROLLLOCK: Self
[src]
pub const KEY_KP7: Self
[src]
pub const KEY_KP8: Self
[src]
pub const KEY_KP9: Self
[src]
pub const KEY_KPMINUS: Self
[src]
pub const KEY_KP4: Self
[src]
pub const KEY_KP5: Self
[src]
pub const KEY_KP6: Self
[src]
pub const KEY_KPPLUS: Self
[src]
pub const KEY_KP1: Self
[src]
pub const KEY_KP2: Self
[src]
pub const KEY_KP3: Self
[src]
pub const KEY_KP0: Self
[src]
pub const KEY_KPDOT: Self
[src]
pub const KEY_ZENKAKUHANKAKU: Self
[src]
pub const KEY_102ND: Self
[src]
pub const KEY_F11: Self
[src]
pub const KEY_F12: Self
[src]
pub const KEY_RO: Self
[src]
pub const KEY_KATAKANA: Self
[src]
pub const KEY_HIRAGANA: Self
[src]
pub const KEY_HENKAN: Self
[src]
pub const KEY_KATAKANAHIRAGANA: Self
[src]
pub const KEY_MUHENKAN: Self
[src]
pub const KEY_KPJPCOMMA: Self
[src]
pub const KEY_KPENTER: Self
[src]
pub const KEY_RIGHTCTRL: Self
[src]
pub const KEY_KPSLASH: Self
[src]
pub const KEY_SYSRQ: Self
[src]
pub const KEY_RIGHTALT: Self
[src]
pub const KEY_LINEFEED: Self
[src]
pub const KEY_HOME: Self
[src]
pub const KEY_UP: Self
[src]
pub const KEY_PAGEUP: Self
[src]
pub const KEY_LEFT: Self
[src]
pub const KEY_RIGHT: Self
[src]
pub const KEY_END: Self
[src]
pub const KEY_DOWN: Self
[src]
pub const KEY_PAGEDOWN: Self
[src]
pub const KEY_INSERT: Self
[src]
pub const KEY_DELETE: Self
[src]
pub const KEY_MACRO: Self
[src]
pub const KEY_MUTE: Self
[src]
pub const KEY_VOLUMEDOWN: Self
[src]
pub const KEY_VOLUMEUP: Self
[src]
pub const KEY_POWER: Self
[src]
pub const KEY_KPEQUAL: Self
[src]
pub const KEY_KPPLUSMINUS: Self
[src]
pub const KEY_PAUSE: Self
[src]
pub const KEY_SCALE: Self
[src]
pub const KEY_KPCOMMA: Self
[src]
pub const KEY_HANGEUL: Self
[src]
pub const KEY_HANJA: Self
[src]
pub const KEY_YEN: Self
[src]
pub const KEY_LEFTMETA: Self
[src]
pub const KEY_RIGHTMETA: Self
[src]
pub const KEY_COMPOSE: Self
[src]
pub const KEY_STOP: Self
[src]
pub const KEY_AGAIN: Self
[src]
pub const KEY_PROPS: Self
[src]
pub const KEY_UNDO: Self
[src]
pub const KEY_FRONT: Self
[src]
pub const KEY_COPY: Self
[src]
pub const KEY_OPEN: Self
[src]
pub const KEY_PASTE: Self
[src]
pub const KEY_FIND: Self
[src]
pub const KEY_CUT: Self
[src]
pub const KEY_HELP: Self
[src]
pub const KEY_MENU: Self
[src]
pub const KEY_CALC: Self
[src]
pub const KEY_SETUP: Self
[src]
pub const KEY_SLEEP: Self
[src]
pub const KEY_WAKEUP: Self
[src]
pub const KEY_FILE: Self
[src]
pub const KEY_SENDFILE: Self
[src]
pub const KEY_DELETEFILE: Self
[src]
pub const KEY_XFER: Self
[src]
pub const KEY_PROG1: Self
[src]
pub const KEY_PROG2: Self
[src]
pub const KEY_WWW: Self
[src]
pub const KEY_MSDOS: Self
[src]
pub const KEY_COFFEE: Self
[src]
pub const KEY_DIRECTION: Self
[src]
pub const KEY_CYCLEWINDOWS: Self
[src]
pub const KEY_MAIL: Self
[src]
pub const KEY_BOOKMARKS: Self
[src]
pub const KEY_COMPUTER: Self
[src]
pub const KEY_BACK: Self
[src]
pub const KEY_FORWARD: Self
[src]
pub const KEY_CLOSECD: Self
[src]
pub const KEY_EJECTCD: Self
[src]
pub const KEY_EJECTCLOSECD: Self
[src]
pub const KEY_NEXTSONG: Self
[src]
pub const KEY_PLAYPAUSE: Self
[src]
pub const KEY_PREVIOUSSONG: Self
[src]
pub const KEY_STOPCD: Self
[src]
pub const KEY_RECORD: Self
[src]
pub const KEY_REWIND: Self
[src]
pub const KEY_PHONE: Self
[src]
pub const KEY_ISO: Self
[src]
pub const KEY_CONFIG: Self
[src]
pub const KEY_HOMEPAGE: Self
[src]
pub const KEY_REFRESH: Self
[src]
pub const KEY_EXIT: Self
[src]
pub const KEY_MOVE: Self
[src]
pub const KEY_EDIT: Self
[src]
pub const KEY_SCROLLUP: Self
[src]
pub const KEY_SCROLLDOWN: Self
[src]
pub const KEY_KPLEFTPAREN: Self
[src]
pub const KEY_KPRIGHTPAREN: Self
[src]
pub const KEY_NEW: Self
[src]
pub const KEY_REDO: Self
[src]
pub const KEY_F13: Self
[src]
pub const KEY_F14: Self
[src]
pub const KEY_F15: Self
[src]
pub const KEY_F16: Self
[src]
pub const KEY_F17: Self
[src]
pub const KEY_F18: Self
[src]
pub const KEY_F19: Self
[src]
pub const KEY_F20: Self
[src]
pub const KEY_F21: Self
[src]
pub const KEY_F22: Self
[src]
pub const KEY_F23: Self
[src]
pub const KEY_F24: Self
[src]
pub const KEY_PLAYCD: Self
[src]
pub const KEY_PAUSECD: Self
[src]
pub const KEY_PROG3: Self
[src]
pub const KEY_PROG4: Self
[src]
pub const KEY_DASHBOARD: Self
[src]
pub const KEY_SUSPEND: Self
[src]
pub const KEY_CLOSE: Self
[src]
pub const KEY_PLAY: Self
[src]
pub const KEY_FASTFORWARD: Self
[src]
pub const KEY_BASSBOOST: Self
[src]
pub const KEY_PRINT: Self
[src]
pub const KEY_HP: Self
[src]
pub const KEY_CAMERA: Self
[src]
pub const KEY_SOUND: Self
[src]
pub const KEY_QUESTION: Self
[src]
pub const KEY_EMAIL: Self
[src]
pub const KEY_CHAT: Self
[src]
pub const KEY_SEARCH: Self
[src]
pub const KEY_CONNECT: Self
[src]
pub const KEY_FINANCE: Self
[src]
pub const KEY_SPORT: Self
[src]
pub const KEY_SHOP: Self
[src]
pub const KEY_ALTERASE: Self
[src]
pub const KEY_CANCEL: Self
[src]
pub const KEY_BRIGHTNESSDOWN: Self
[src]
pub const KEY_BRIGHTNESSUP: Self
[src]
pub const KEY_MEDIA: Self
[src]
pub const KEY_SWITCHVIDEOMODE: Self
[src]
pub const KEY_KBDILLUMTOGGLE: Self
[src]
pub const KEY_KBDILLUMDOWN: Self
[src]
pub const KEY_KBDILLUMUP: Self
[src]
pub const KEY_SEND: Self
[src]
pub const KEY_REPLY: Self
[src]
pub const KEY_FORWARDMAIL: Self
[src]
pub const KEY_SAVE: Self
[src]
pub const KEY_DOCUMENTS: Self
[src]
pub const KEY_BATTERY: Self
[src]
pub const KEY_BLUETOOTH: Self
[src]
pub const KEY_WLAN: Self
[src]
pub const KEY_UWB: Self
[src]
pub const KEY_UNKNOWN: Self
[src]
pub const KEY_VIDEO_NEXT: Self
[src]
pub const KEY_VIDEO_PREV: Self
[src]
pub const KEY_BRIGHTNESS_CYCLE: Self
[src]
pub const KEY_BRIGHTNESS_AUTO: Self
[src]
pub const KEY_DISPLAY_OFF: Self
[src]
pub const KEY_WWAN: Self
[src]
pub const KEY_RFKILL: Self
[src]
pub const KEY_MICMUTE: Self
[src]
pub const BTN_0: Self
[src]
pub const BTN_1: Self
[src]
pub const BTN_2: Self
[src]
pub const BTN_3: Self
[src]
pub const BTN_4: Self
[src]
pub const BTN_5: Self
[src]
pub const BTN_6: Self
[src]
pub const BTN_7: Self
[src]
pub const BTN_8: Self
[src]
pub const BTN_9: Self
[src]
pub const BTN_LEFT: Self
[src]
pub const BTN_RIGHT: Self
[src]
pub const BTN_MIDDLE: Self
[src]
pub const BTN_SIDE: Self
[src]
pub const BTN_EXTRA: Self
[src]
pub const BTN_FORWARD: Self
[src]
pub const BTN_BACK: Self
[src]
pub const BTN_TASK: Self
[src]
pub const BTN_TRIGGER: Self
[src]
pub const BTN_THUMB: Self
[src]
pub const BTN_THUMB2: Self
[src]
pub const BTN_TOP: Self
[src]
pub const BTN_TOP2: Self
[src]
pub const BTN_PINKIE: Self
[src]
pub const BTN_BASE: Self
[src]
pub const BTN_BASE2: Self
[src]
pub const BTN_BASE3: Self
[src]
pub const BTN_BASE4: Self
[src]
pub const BTN_BASE5: Self
[src]
pub const BTN_BASE6: Self
[src]
pub const BTN_DEAD: Self
[src]
pub const BTN_SOUTH: Self
[src]
pub const BTN_EAST: Self
[src]
pub const BTN_C: Self
[src]
pub const BTN_NORTH: Self
[src]
pub const BTN_WEST: Self
[src]
pub const BTN_Z: Self
[src]
pub const BTN_TL: Self
[src]
pub const BTN_TR: Self
[src]
pub const BTN_TL2: Self
[src]
pub const BTN_TR2: Self
[src]
pub const BTN_SELECT: Self
[src]
pub const BTN_START: Self
[src]
pub const BTN_MODE: Self
[src]
pub const BTN_THUMBL: Self
[src]
pub const BTN_THUMBR: Self
[src]
pub const BTN_TOOL_PEN: Self
[src]
pub const BTN_TOOL_RUBBER: Self
[src]
pub const BTN_TOOL_BRUSH: Self
[src]
pub const BTN_TOOL_PENCIL: Self
[src]
pub const BTN_TOOL_AIRBRUSH: Self
[src]
pub const BTN_TOOL_FINGER: Self
[src]
pub const BTN_TOOL_MOUSE: Self
[src]
pub const BTN_TOOL_LENS: Self
[src]
pub const BTN_TOOL_QUINTTAP: Self
[src]
pub const BTN_TOUCH: Self
[src]
pub const BTN_STYLUS: Self
[src]
pub const BTN_STYLUS2: Self
[src]
pub const BTN_TOOL_DOUBLETAP: Self
[src]
pub const BTN_TOOL_TRIPLETAP: Self
[src]
pub const BTN_TOOL_QUADTAP: Self
[src]
pub const BTN_GEAR_DOWN: Self
[src]
pub const BTN_GEAR_UP: Self
[src]
pub const KEY_OK: Self
[src]
pub const KEY_SELECT: Self
[src]
pub const KEY_GOTO: Self
[src]
pub const KEY_CLEAR: Self
[src]
pub const KEY_POWER2: Self
[src]
pub const KEY_OPTION: Self
[src]
pub const KEY_INFO: Self
[src]
pub const KEY_TIME: Self
[src]
pub const KEY_VENDOR: Self
[src]
pub const KEY_ARCHIVE: Self
[src]
pub const KEY_PROGRAM: Self
[src]
pub const KEY_CHANNEL: Self
[src]
pub const KEY_FAVORITES: Self
[src]
pub const KEY_EPG: Self
[src]
pub const KEY_PVR: Self
[src]
pub const KEY_MHP: Self
[src]
pub const KEY_LANGUAGE: Self
[src]
pub const KEY_TITLE: Self
[src]
pub const KEY_SUBTITLE: Self
[src]
pub const KEY_ANGLE: Self
[src]
pub const KEY_ZOOM: Self
[src]
pub const KEY_MODE: Self
[src]
pub const KEY_KEYBOARD: Self
[src]
pub const KEY_SCREEN: Self
[src]
pub const KEY_PC: Self
[src]
pub const KEY_TV: Self
[src]
pub const KEY_TV2: Self
[src]
pub const KEY_VCR: Self
[src]
pub const KEY_VCR2: Self
[src]
pub const KEY_SAT: Self
[src]
pub const KEY_SAT2: Self
[src]
pub const KEY_CD: Self
[src]
pub const KEY_TAPE: Self
[src]
pub const KEY_RADIO: Self
[src]
pub const KEY_TUNER: Self
[src]
pub const KEY_PLAYER: Self
[src]
pub const KEY_TEXT: Self
[src]
pub const KEY_DVD: Self
[src]
pub const KEY_AUX: Self
[src]
pub const KEY_MP3: Self
[src]
pub const KEY_AUDIO: Self
[src]
pub const KEY_VIDEO: Self
[src]
pub const KEY_DIRECTORY: Self
[src]
pub const KEY_LIST: Self
[src]
pub const KEY_MEMO: Self
[src]
pub const KEY_CALENDAR: Self
[src]
pub const KEY_RED: Self
[src]
pub const KEY_GREEN: Self
[src]
pub const KEY_YELLOW: Self
[src]
pub const KEY_BLUE: Self
[src]
pub const KEY_CHANNELUP: Self
[src]
pub const KEY_CHANNELDOWN: Self
[src]
pub const KEY_FIRST: Self
[src]
pub const KEY_LAST: Self
[src]
pub const KEY_AB: Self
[src]
pub const KEY_NEXT: Self
[src]
pub const KEY_RESTART: Self
[src]
pub const KEY_SLOW: Self
[src]
pub const KEY_SHUFFLE: Self
[src]
pub const KEY_BREAK: Self
[src]
pub const KEY_PREVIOUS: Self
[src]
pub const KEY_DIGITS: Self
[src]
pub const KEY_TEEN: Self
[src]
pub const KEY_TWEN: Self
[src]
pub const KEY_VIDEOPHONE: Self
[src]
pub const KEY_GAMES: Self
[src]
pub const KEY_ZOOMIN: Self
[src]
pub const KEY_ZOOMOUT: Self
[src]
pub const KEY_ZOOMRESET: Self
[src]
pub const KEY_WORDPROCESSOR: Self
[src]
pub const KEY_EDITOR: Self
[src]
pub const KEY_SPREADSHEET: Self
[src]
pub const KEY_GRAPHICSEDITOR: Self
[src]
pub const KEY_PRESENTATION: Self
[src]
pub const KEY_DATABASE: Self
[src]
pub const KEY_NEWS: Self
[src]
pub const KEY_VOICEMAIL: Self
[src]
pub const KEY_ADDRESSBOOK: Self
[src]
pub const KEY_MESSENGER: Self
[src]
pub const KEY_DISPLAYTOGGLE: Self
[src]
pub const KEY_SPELLCHECK: Self
[src]
pub const KEY_LOGOFF: Self
[src]
pub const KEY_DOLLAR: Self
[src]
pub const KEY_EURO: Self
[src]
pub const KEY_FRAMEBACK: Self
[src]
pub const KEY_FRAMEFORWARD: Self
[src]
pub const KEY_CONTEXT_MENU: Self
[src]
pub const KEY_MEDIA_REPEAT: Self
[src]
pub const KEY_10CHANNELSUP: Self
[src]
pub const KEY_10CHANNELSDOWN: Self
[src]
pub const KEY_IMAGES: Self
[src]
pub const KEY_DEL_EOL: Self
[src]
pub const KEY_DEL_EOS: Self
[src]
pub const KEY_INS_LINE: Self
[src]
pub const KEY_DEL_LINE: Self
[src]
pub const KEY_FN: Self
[src]
pub const KEY_FN_ESC: Self
[src]
pub const KEY_FN_F1: Self
[src]
pub const KEY_FN_F2: Self
[src]
pub const KEY_FN_F3: Self
[src]
pub const KEY_FN_F4: Self
[src]
pub const KEY_FN_F5: Self
[src]
pub const KEY_FN_F6: Self
[src]
pub const KEY_FN_F7: Self
[src]
pub const KEY_FN_F8: Self
[src]
pub const KEY_FN_F9: Self
[src]
pub const KEY_FN_F10: Self
[src]
pub const KEY_FN_F11: Self
[src]
pub const KEY_FN_F12: Self
[src]
pub const KEY_FN_1: Self
[src]
pub const KEY_FN_2: Self
[src]
pub const KEY_FN_D: Self
[src]
pub const KEY_FN_E: Self
[src]
pub const KEY_FN_F: Self
[src]
pub const KEY_FN_S: Self
[src]
pub const KEY_FN_B: Self
[src]
pub const KEY_BRL_DOT1: Self
[src]
pub const KEY_BRL_DOT2: Self
[src]
pub const KEY_BRL_DOT3: Self
[src]
pub const KEY_BRL_DOT4: Self
[src]
pub const KEY_BRL_DOT5: Self
[src]
pub const KEY_BRL_DOT6: Self
[src]
pub const KEY_BRL_DOT7: Self
[src]
pub const KEY_BRL_DOT8: Self
[src]
pub const KEY_BRL_DOT9: Self
[src]
pub const KEY_BRL_DOT10: Self
[src]
pub const KEY_NUMERIC_0: Self
[src]
pub const KEY_NUMERIC_1: Self
[src]
pub const KEY_NUMERIC_2: Self
[src]
pub const KEY_NUMERIC_3: Self
[src]
pub const KEY_NUMERIC_4: Self
[src]
pub const KEY_NUMERIC_5: Self
[src]
pub const KEY_NUMERIC_6: Self
[src]
pub const KEY_NUMERIC_7: Self
[src]
pub const KEY_NUMERIC_8: Self
[src]
pub const KEY_NUMERIC_9: Self
[src]
pub const KEY_NUMERIC_STAR: Self
[src]
pub const KEY_NUMERIC_POUND: Self
[src]
pub const KEY_CAMERA_FOCUS: Self
[src]
pub const KEY_WPS_BUTTON: Self
[src]
pub const KEY_TOUCHPAD_TOGGLE: Self
[src]
pub const KEY_TOUCHPAD_ON: Self
[src]
pub const KEY_TOUCHPAD_OFF: Self
[src]
pub const KEY_CAMERA_ZOOMIN: Self
[src]
pub const KEY_CAMERA_ZOOMOUT: Self
[src]
pub const KEY_CAMERA_UP: Self
[src]
pub const KEY_CAMERA_DOWN: Self
[src]
pub const KEY_CAMERA_LEFT: Self
[src]
pub const KEY_CAMERA_RIGHT: Self
[src]
pub const KEY_ATTENDANT_ON: Self
[src]
pub const KEY_ATTENDANT_OFF: Self
[src]
pub const KEY_ATTENDANT_TOGGLE: Self
[src]
pub const KEY_LIGHTS_TOGGLE: Self
[src]
pub const BTN_DPAD_UP: Self
[src]
pub const BTN_DPAD_DOWN: Self
[src]
pub const BTN_DPAD_LEFT: Self
[src]
pub const BTN_DPAD_RIGHT: Self
[src]
pub const KEY_ALS_TOGGLE: Self
[src]
pub const KEY_BUTTONCONFIG: Self
[src]
pub const KEY_TASKMANAGER: Self
[src]
pub const KEY_JOURNAL: Self
[src]
pub const KEY_CONTROLPANEL: Self
[src]
pub const KEY_APPSELECT: Self
[src]
pub const KEY_SCREENSAVER: Self
[src]
pub const KEY_VOICECOMMAND: Self
[src]
pub const KEY_BRIGHTNESS_MIN: Self
[src]
pub const KEY_BRIGHTNESS_MAX: Self
[src]
pub const KEY_KBDINPUTASSIST_PREV: Self
[src]
pub const KEY_KBDINPUTASSIST_NEXT: Self
[src]
pub const KEY_KBDINPUTASSIST_PREVGROUP: Self
[src]
pub const KEY_KBDINPUTASSIST_NEXTGROUP: Self
[src]
pub const KEY_KBDINPUTASSIST_ACCEPT: Self
[src]
pub const KEY_KBDINPUTASSIST_CANCEL: Self
[src]
pub const BTN_TRIGGER_HAPPY1: Self
[src]
pub const BTN_TRIGGER_HAPPY2: Self
[src]
pub const BTN_TRIGGER_HAPPY3: Self
[src]
pub const BTN_TRIGGER_HAPPY4: Self
[src]
pub const BTN_TRIGGER_HAPPY5: Self
[src]
pub const BTN_TRIGGER_HAPPY6: Self
[src]
pub const BTN_TRIGGER_HAPPY7: Self
[src]
pub const BTN_TRIGGER_HAPPY8: Self
[src]
pub const BTN_TRIGGER_HAPPY9: Self
[src]
pub const BTN_TRIGGER_HAPPY10: Self
[src]
pub const BTN_TRIGGER_HAPPY11: Self
[src]
pub const BTN_TRIGGER_HAPPY12: Self
[src]
pub const BTN_TRIGGER_HAPPY13: Self
[src]
pub const BTN_TRIGGER_HAPPY14: Self
[src]
pub const BTN_TRIGGER_HAPPY15: Self
[src]
pub const BTN_TRIGGER_HAPPY16: Self
[src]
pub const BTN_TRIGGER_HAPPY17: Self
[src]
pub const BTN_TRIGGER_HAPPY18: Self
[src]
pub const BTN_TRIGGER_HAPPY19: Self
[src]
pub const BTN_TRIGGER_HAPPY20: Self
[src]
pub const BTN_TRIGGER_HAPPY21: Self
[src]
pub const BTN_TRIGGER_HAPPY22: Self
[src]
pub const BTN_TRIGGER_HAPPY23: Self
[src]
pub const BTN_TRIGGER_HAPPY24: Self
[src]
pub const BTN_TRIGGER_HAPPY25: Self
[src]
pub const BTN_TRIGGER_HAPPY26: Self
[src]
pub const BTN_TRIGGER_HAPPY27: Self
[src]
pub const BTN_TRIGGER_HAPPY28: Self
[src]
pub const BTN_TRIGGER_HAPPY29: Self
[src]
pub const BTN_TRIGGER_HAPPY30: Self
[src]
pub const BTN_TRIGGER_HAPPY31: Self
[src]
pub const BTN_TRIGGER_HAPPY32: Self
[src]
pub const BTN_TRIGGER_HAPPY33: Self
[src]
pub const BTN_TRIGGER_HAPPY34: Self
[src]
pub const BTN_TRIGGER_HAPPY35: Self
[src]
pub const BTN_TRIGGER_HAPPY36: Self
[src]
pub const BTN_TRIGGER_HAPPY37: Self
[src]
pub const BTN_TRIGGER_HAPPY38: Self
[src]
pub const BTN_TRIGGER_HAPPY39: Self
[src]
pub const BTN_TRIGGER_HAPPY40: Self
[src]
Trait Implementations
impl Ord for Key
[src]
impl Ord for Key
[src]impl PartialOrd<Key> for Key
[src]
impl PartialOrd<Key> for Key
[src]fn partial_cmp(&self, other: &Key) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Key) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Key
[src]
impl Eq for Key
[src]
impl StructuralEq for Key
[src]
impl StructuralPartialEq for Key
[src]
Auto Trait Implementations
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> FmtForward for T
impl<T> FmtForward for T
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.
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. Read more
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. Read more
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. Read more
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.
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. Read more
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. Read more
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. Read more
impl<T> Pipe for T where
T: ?Sized,
impl<T> Pipe for T where
T: ?Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
Pipes by value. This is generally the method you want to use. Read more
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R where
Self: Borrow<B>,
R: 'a,
B: 'a + ?Sized,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R where
Self: Borrow<B>,
R: 'a,
B: 'a + ?Sized,
Borrows self
, then passes self.borrow()
into the pipe function. Read more
fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R where
Self: BorrowMut<B>,
R: 'a,
B: 'a + ?Sized,
fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R where
Self: BorrowMut<B>,
R: 'a,
B: 'a + ?Sized,
Mutably borrows self
, then passes self.borrow_mut()
into the pipe
function. Read more
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R where
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R where
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R where
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R where
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
function. Read more
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Deref<Target = T>,
T: 'a + ?Sized,
R: 'a,
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Deref<Target = T>,
T: 'a + ?Sized,
R: 'a,
Borrows self
, then passes self.deref()
into the pipe function.
impl<T> PipeAsRef for T
impl<T> PipeAsRef for T
fn pipe_as_ref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: AsRef<T>,
T: 'a,
R: 'a,
fn pipe_as_ref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: AsRef<T>,
T: 'a,
R: 'a,
Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more
fn pipe_as_mut<'a, T, R>(&'a mut self, func: impl FnOnce(&'a mut T) -> R) -> R where
Self: AsMut<T>,
T: 'a,
R: 'a,
fn pipe_as_mut<'a, T, R>(&'a mut self, func: impl FnOnce(&'a mut T) -> R) -> R where
Self: AsMut<T>,
T: 'a,
R: 'a,
Pipes a trait mutable borrow into a function that cannot normally be called in suffix position. Read more
impl<T> PipeBorrow for T
impl<T> PipeBorrow for T
fn pipe_borrow<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Borrow<T>,
T: 'a,
R: 'a,
fn pipe_borrow<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R where
Self: Borrow<T>,
T: 'a,
R: 'a,
Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more
fn pipe_borrow_mut<'a, T, R>(
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: BorrowMut<T>,
T: 'a,
R: 'a,
fn pipe_borrow_mut<'a, T, R>(
&'a mut self,
func: impl FnOnce(&'a mut T) -> R
) -> R where
Self: BorrowMut<T>,
T: 'a,
R: 'a,
Pipes a trait mutable borrow into a function that cannot normally be called in suffix position. Read more
impl<T> PipeDeref for T
impl<T> PipeDeref for T
fn pipe_deref<'a, R>(&'a self, func: impl FnOnce(&'a Self::Target) -> R) -> R where
Self: Deref,
R: 'a,
fn pipe_deref<'a, R>(&'a self, func: impl FnOnce(&'a Self::Target) -> R) -> R where
Self: Deref,
R: 'a,
Pipes a dereference into a function that cannot normally be called in suffix position. Read more
fn pipe_deref_mut<'a, R>(
&'a mut self,
func: impl FnOnce(&'a mut Self::Target) -> R
) -> R where
Self: DerefMut,
R: 'a,
fn pipe_deref_mut<'a, R>(
&'a mut self,
func: impl FnOnce(&'a mut Self::Target) -> R
) -> R where
Self: DerefMut,
R: 'a,
Pipes a mutable dereference into a function that cannot normally be called in suffix position. Read more
impl<T> PipeRef for T
impl<T> PipeRef for T
impl<T> Tap for T
impl<T> Tap for T
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self where
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self where
Self: Deref<Target = T>,
T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self where
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self where
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more
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.
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. Read more
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
builds. Read more
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
builds. Read more
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
builds. Read more
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
builds. Read more
impl<T> Tap for T
impl<T> Tap for T
fn tap<F, R>(self, func: F) -> Self where
F: FnOnce(&Self) -> R,
fn tap<F, R>(self, func: F) -> Self where
F: FnOnce(&Self) -> R,
Provides immutable access for inspection. Read more
fn tap_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&Self) -> R,
fn tap_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&Self) -> R,
Calls tap
in debug builds, and does nothing in release builds.
fn tap_mut<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self) -> R,
fn tap_mut<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self) -> R,
Provides mutable access for modification. Read more
fn tap_mut_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self) -> R,
fn tap_mut_dbg<F, R>(self, func: F) -> Self where
F: FnOnce(&mut Self) -> R,
Calls tap_mut
in debug builds, and does nothing in release builds.
impl<T, U> TapAsRef<U> for T where
U: ?Sized,
impl<T, U> TapAsRef<U> for T where
U: ?Sized,
fn tap_ref<F, R>(self, func: F) -> Self where
Self: AsRef<T>,
F: FnOnce(&T) -> R,
fn tap_ref<F, R>(self, func: F) -> Self where
Self: AsRef<T>,
F: FnOnce(&T) -> R,
Provides immutable access to the reference for inspection.
fn tap_ref_dbg<F, R>(self, func: F) -> Self where
Self: AsRef<T>,
F: FnOnce(&T) -> R,
fn tap_ref_dbg<F, R>(self, func: F) -> Self where
Self: AsRef<T>,
F: FnOnce(&T) -> R,
Calls tap_ref
in debug builds, and does nothing in release builds.
fn tap_ref_mut<F, R>(self, func: F) -> Self where
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
fn tap_ref_mut<F, R>(self, func: F) -> Self where
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
Provides mutable access to the reference for modification.
fn tap_ref_mut_dbg<F, R>(self, func: F) -> Self where
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
fn tap_ref_mut_dbg<F, R>(self, func: F) -> Self where
Self: AsMut<T>,
F: FnOnce(&mut T) -> R,
Calls tap_ref_mut
in debug builds, and does nothing in release builds.
impl<T, U> TapBorrow<U> for T where
U: ?Sized,
impl<T, U> TapBorrow<U> for T where
U: ?Sized,
fn tap_borrow<F, R>(self, func: F) -> Self where
Self: Borrow<T>,
F: FnOnce(&T) -> R,
fn tap_borrow<F, R>(self, func: F) -> Self where
Self: Borrow<T>,
F: FnOnce(&T) -> R,
Provides immutable access to the borrow for inspection. Read more
fn tap_borrow_dbg<F, R>(self, func: F) -> Self where
Self: Borrow<T>,
F: FnOnce(&T) -> R,
fn tap_borrow_dbg<F, R>(self, func: F) -> Self where
Self: Borrow<T>,
F: FnOnce(&T) -> R,
Calls tap_borrow
in debug builds, and does nothing in release builds.
fn tap_borrow_mut<F, R>(self, func: F) -> Self where
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
fn tap_borrow_mut<F, R>(self, func: F) -> Self where
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
Provides mutable access to the borrow for modification.
fn tap_borrow_mut_dbg<F, R>(self, func: F) -> Self where
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
fn tap_borrow_mut_dbg<F, R>(self, func: F) -> Self where
Self: BorrowMut<T>,
F: FnOnce(&mut T) -> R,
Calls tap_borrow_mut
in debug builds, and does nothing in release
builds. Read more
impl<T> TapDeref for T
impl<T> TapDeref for T
fn tap_deref<F, R>(self, func: F) -> Self where
Self: Deref,
F: FnOnce(&Self::Target) -> R,
fn tap_deref<F, R>(self, func: F) -> Self where
Self: Deref,
F: FnOnce(&Self::Target) -> R,
Immutably dereferences self
for inspection.
fn tap_deref_dbg<F, R>(self, func: F) -> Self where
Self: Deref,
F: FnOnce(&Self::Target) -> R,
fn tap_deref_dbg<F, R>(self, func: F) -> Self where
Self: Deref,
F: FnOnce(&Self::Target) -> R,
Calls tap_deref
in debug builds, and does nothing in release builds.
fn tap_deref_mut<F, R>(self, func: F) -> Self where
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
fn tap_deref_mut<F, R>(self, func: F) -> Self where
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
Mutably dereferences self
for modification.
fn tap_deref_mut_dbg<F, R>(self, func: F) -> Self where
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
fn tap_deref_mut_dbg<F, R>(self, func: F) -> Self where
Self: DerefMut,
F: FnOnce(&mut Self::Target) -> R,
Calls tap_deref_mut
in debug builds, and does nothing in release
builds. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more