[−][src]Struct glk::types::keycode
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,