Enum gate::KeyCode[][src]

#[repr(u8)]
pub enum KeyCode { 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, Num0, Num1, Num2, Num3, Num4, Num5, Num6, Num7, Num8, Num9, Right, Left, Down, Up, Return, Space, Backspace, Delete, MouseLeft, MouseRight, MouseMiddle, }

Enum for keyboard keys and mouse buttons.

Variants

Trait Implementations

impl Debug for KeyCode
[src]

Formats the value using the given formatter. Read more

impl Copy for KeyCode
[src]

impl Clone for KeyCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for KeyCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for KeyCode
[src]

impl Hash for KeyCode
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for KeyCode

impl Sync for KeyCode