[][src]Struct glk::types::keycode

pub struct keycode(pub u32);

Newtype for Glk keycode

Methods

impl keycode[src]

pub const Unknown: Self[src]

pub const Left: Self[src]

Left arrow key.

pub const Right: Self[src]

Right arrow key.

pub const Up: Self[src]

Up arrow key.

pub const Down: Self[src]

Down arrow key.

pub const Return: Self[src]

Return or enter.

pub const Delete: Self[src]

Delete or backspace (yuck).

pub const Escape: Self[src]

Escape key.

pub const Tab: Self[src]

Tab key.

pub const PageUp: Self[src]

Page up key.

pub const PageDown: Self[src]

Page down key.

pub const Home: Self[src]

Home key.

pub const End: Self[src]

End key.

pub const Func1: Self[src]

F1 key.

pub const Func2: Self[src]

F2 key.

pub const Func3: Self[src]

F3 key.

pub const Func4: Self[src]

F4 key.

pub const Func5: Self[src]

F5 key.

pub const Func6: Self[src]

F6 key.

pub const Func7: Self[src]

F7 key.

pub const Func8: Self[src]

F8 key.

pub const Func9: Self[src]

F9 key.

pub const Func10: Self[src]

F10 key.

pub const Func11: Self[src]

F11 key.

pub const Func12: Self[src]

F12 key.

pub fn from_char(ch: char) -> Self[src]

Unicode character.

Trait Implementations

impl Clone for keycode[src]

impl Copy for keycode[src]

impl Eq for keycode[src]

impl PartialEq<keycode> for keycode[src]

impl Debug for keycode[src]

impl StructuralPartialEq for keycode[src]

impl StructuralEq for keycode[src]

Auto Trait Implementations

impl Send for keycode

impl Sync for keycode

impl Unpin for keycode

impl UnwindSafe for keycode

impl RefUnwindSafe for keycode

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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