[][src]Enum gluten_keyboard::Key

pub enum Key {
    Unknown,
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
    Six,
    Seven,
    Eight,
    Nine,
    A,
    B,
    C,
    D,
    E,
    F,
    G,
    H,
    I,
    J,
    K,
    L,
    M,
    N,
    O,
    P,
    Q,
    R,
    S,
    T,
    U,
    V,
    W,
    X,
    Y,
    Z,
    Accept,
    Add,
    Again,
    AllCandidates,
    Alphanumeric,
    Alt,
    AltGraph,
    Ampersand,
    Asterisk,
    BackQuote,
    BackSlash,
    Begin,
    BraceLeft,
    BraceRight,
    Cancel,
    CapsLock,
    Circumflex,
    Clear,
    BracketLeft,
    BracketRight,
    CodeInput,
    Colon,
    Comma,
    Compose,
    ContextMenu,
    LeftControl,
    RightControl,
    Convert,
    Copy,
    Cut,
    Decimal,
    Delete,
    Divide,
    Dollar,
    Down,
    End,
    Enter,
    Equals,
    Escape,
    EuroSign,
    ExclamationMark,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    F11,
    F12,
    F13,
    F14,
    F15,
    F16,
    F17,
    F18,
    F19,
    F20,
    F21,
    F22,
    F23,
    F24,
    Final,
    Find,
    FullWidth,
    Greater,
    HalfWidth,
    Help,
    Hiragana,
    Home,
    InputMethodOnOff,
    Insert,
    InvertedExclamationMark,
    JapaneseHiragana,
    JapaneseKatakana,
    JapaneseRoman,
    Kana,
    KanaLock,
    KpLeft,
    KpDown,
    KpRight,
    KpUp,
    Left,
    ParenthesisLeft,
    ParenthesisRight,
    Less,
    Meta,
    Minus,
    ModeChange,
    Multiply,
    DontConvert,
    NumLock,
    NumberSign,
    NumpadZero,
    NumpadOne,
    NumpadTwo,
    NumpadThree,
    NumpadFour,
    NumpadFive,
    NumpadSix,
    NumpadSeven,
    NumpadEight,
    NumpadNine,
    PageDown,
    PageUp,
    Paste,
    Pause,
    Period,
    Plus,
    PreviousCandidate,
    Props,
    Quote,
    DoubleQuote,
    Right,
    RomanCharacters,
    ScrollLock,
    Separator,
    LeftShift,
    RightShift,
    ShiftLock,
    LeftMeta,
    RightMeta,
    LeftAlt,
    RightAlt,
    LeftSuper,
    RightSuper,
    LeftHyper,
    RightHyper,
    Slash,
    Space,
    Stop,
    Subtract,
    Tab,
    Underscore,
    Undo,
    Up,
    Windows,
    Percent,
    Question,
    At,
    Tilde,
    Semicolon,
    Backquote,
    Bar,
    Backspace,
}

A set of keys.

Variants

Unknown

The Unknown key.

Zero

The Zero (0) key.

One

The One (1) key.

Two

The Two (2) key.

Three

The Three (3) key.

Four

The Four (4) key.

Five

The Five (5) key.

Six

The Six (6) key.

Seven

The Seven (7) key.

Eight

The Eight (8) key.

Nine

The Nine (9) key.

A

The A (A) key.

B

The B (B) key.

C

The C (C) key.

D

The D (D) key.

E

The E (E) key.

F

The F (F) key.

G

The G (G) key.

H

The H (H) key.

I

The I (I) key.

J

The J (J) key.

K

The K (K) key.

L

The L (L) key.

M

The M (M) key.

N

The N (N) key.

O

The O (O) key.

P

The P (P) key.

Q

The Q (Q) key.

R

The R (R) key.

S

The S (S) key.

T

The T (T) key.

U

The U (U) key.

V

The V (V) key.

W

The W (W) key.

X

The X (X) key.

Y

The Y (Y) key.

Z

The Z (Z) key.

Accept

The Accept key.

Add

The Add key.

Again

The Again key.

AllCandidates

The AllCandidates key.

Alphanumeric

The Alphanumeric key.

Alt

The Alt key.

AltGraph

The AltGraph key.

Ampersand

The Ampersand (&) key.

Asterisk

The Asterisk (*) key.

BackQuote

The BackQuote key.

BackSlash

The BackSlash () key.

Begin

The Begin key.

BraceLeft

The BraceLeft ({) key.

BraceRight

The BraceRight (}) key.

Cancel

The Cancel key.

CapsLock

The CapsLock key.

Circumflex

The Circumflex (^) key.

Clear

The Clear key.

BracketLeft

The BracketLeft ([) key.

BracketRight

The BracketRight (]) key.

CodeInput

The CodeInput key.

Colon

The Colon (:) key.

Comma

The Comma (,) key.

Compose

The Compose key.

ContextMenu

The ContextMenu key.

LeftControl

The LeftControl key.

RightControl

The RightControl key.

Convert

The Convert key.

Copy

The Copy key.

Cut

The Cut key.

Decimal

The Decimal key.

Delete

The Delete key.

Divide

The Divide key.

Dollar

The Dollar ($) key.

Down

The Down key.

End

The End key.

Enter

The Enter key.

Equals

The Equals (=) key.

Escape

The Escape key.

EuroSign

The EuroSign (€) key.

ExclamationMark

The ExclamationMark (!) key.

F1

The F1 key.

F2

The F2 key.

F3

The F3 key.

F4

The F4 key.

F5

The F5 key.

F6

The F6 key.

F7

The F7 key.

F8

The F8 key.

F9

The F9 key.

F10

The F10 key.

F11

The F11 key.

F12

The F12 key.

F13

The F13 key.

F14

The F14 key.

F15

The F15 key.

F16

The F16 key.

F17

The F17 key.

F18

The F18 key.

F19

The F19 key.

F20

The F20 key.

F21

The F21 key.

F22

The F22 key.

F23

The F23 key.

F24

The F24 key.

Final

The Final key.

Find

The Find key.

FullWidth

The FullWidth key.

Greater

The Greater (>) key.

HalfWidth

The HalfWidth key.

Help

The Help key.

Hiragana

The Hiragana key.

Home

The Home key.

InputMethodOnOff

The InputMethodOnOff key.

Insert

The Insert key.

InvertedExclamationMark

The InvertedExclamationMark (¡) key.

JapaneseHiragana

The JapaneseHiragana key.

JapaneseKatakana

The JapaneseKatakana key.

JapaneseRoman

The JapaneseRoman key.

Kana

The Kana key.

KanaLock

The KanaLock key.

KpLeft

The KpLeft key.

KpDown

The KpDown key.

KpRight

The KpRight key.

KpUp

The KpUp key.

Left

The Left key.

ParenthesisLeft

The ParenthesisLeft (() key.

ParenthesisRight

The ParenthesisRight ()) key.

Less

The Less (<) key.

Meta

The Meta key.

Minus

The Minus (-) key.

ModeChange

The ModeChange key.

Multiply

The Multiply key.

DontConvert

The DontConvert key.

NumLock

The NumLock key.

NumberSign

The NumberSign (#) key.

NumpadZero

The NumpadZero (0) key.

NumpadOne

The NumpadOne (1) key.

NumpadTwo

The NumpadTwo (2) key.

NumpadThree

The NumpadThree (3) key.

NumpadFour

The NumpadFour (4) key.

NumpadFive

The NumpadFive (5) key.

NumpadSix

The NumpadSix (6) key.

NumpadSeven

The NumpadSeven (7) key.

NumpadEight

The NumpadEight (8) key.

NumpadNine

The NumpadNine (9) key.

PageDown

The PageDown key.

PageUp

The PageUp key.

Paste

The Paste key.

Pause

The Pause key.

Period

The Period (.) key.

Plus

The Plus (+) key.

PreviousCandidate

The PreviousCandidate key.

Props

The Props key.

Quote

The Quote (') key.

DoubleQuote

The DoubleQuote (") key.

Right

The Right key.

RomanCharacters

The RomanCharacters key.

ScrollLock

The ScrollLock key.

Separator

The Separator key.

LeftShift

The LeftShift key.

RightShift

The RightShift key.

ShiftLock

The ShiftLock key.

LeftMeta

The LeftMeta key.

RightMeta

The RightMeta key.

LeftAlt

The LeftAlt key.

RightAlt

The RightAlt key.

LeftSuper

The LeftSuper key.

RightSuper

The RightSuper key.

LeftHyper

The LeftHyper key.

RightHyper

The RightHyper key.

Slash

The Slash (/) key.

Space

The Space ( ) key.

Stop

The Stop key.

Subtract

The Subtract key.

Tab

The Tab key.

Underscore

The Underscore (_) key.

Undo

The Undo key.

Up

The Up key.

Windows

The Windows key.

Percent

The Percent (%) key.

Question

The Question (?) key.

At

The At (@) key.

Tilde

The Tilde (~) key.

Semicolon

The Semicolon (;) key.

Backquote

The Backquote (`) key.

Bar

The Bar (|) key.

Backspace

The Backspace key.

Implementations

impl Key[src]

pub fn as_char(self) -> Option<char>[src]

Trait Implementations

impl Clone for Key[src]

impl Copy for Key[src]

impl Debug for Key[src]

impl Default for Key[src]

impl Eq for Key[src]

impl Hash for Key[src]

impl Ord for Key[src]

impl PartialEq<Key> for Key[src]

impl PartialOrd<Key> for Key[src]

impl StructuralEq for Key[src]

impl StructuralPartialEq for Key[src]

Auto Trait Implementations

impl Send for Key[src]

impl Sync for Key[src]

impl Unpin for Key[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.