Enum virtio_input_decoder::Key[][src]

pub enum Key {
Show variants None, ESC, One, Two, Three, Four, Five, Six, Seven, Eight, Nine, Zero, Minus, Equal, BackSpace, Tab, Q, W, E, R, T, Y, U, I, O, P, LSB, RSB, Enter, LCTRL, A, S, D, F, G, H, J, K, L, Colon, SineglePoint, Point, LSHIFT, BackSlash, Z, X, C, V, B, N, M, Comma, Dot, Slash, RSHIFT, DPSTAR, LALT, Space, CAPS, MouseScrollDown, MouseScrollUp, MouseLeft, MouseRight, MouseMid,
}

Variants

None
ESC
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Zero
Minus
Equal
BackSpace
Tab
Q
W
E
R
T
Y
U
I
O
P
LSB
RSB
Enter
LCTRL
A
S
D
F
G
H
J
K
L
Colon
SineglePoint
Point
LSHIFT
BackSlash
Z
X
C
V
B
N
M
Comma
Dot
Slash
RSHIFT
DPSTAR
LALT
Space
CAPS
MouseScrollDown
MouseScrollUp
MouseLeft
MouseRight
MouseMid

Implementations

impl Key[src]

pub fn from_code(code: usize) -> Result<Key, ()>[src]

pub fn to_char(&self) -> char[src]

Trait Implementations

impl Clone for Key[src]

impl Copy for Key[src]

impl Debug for Key[src]

impl PartialEq<Key> for Key[src]

impl StructuralPartialEq for Key[src]

Auto Trait Implementations

impl Send for Key

impl Sync for Key

impl Unpin for Key

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.