[][src]Struct glk::types::evtype

pub struct evtype(pub u32);

Newtype for Glk evtype

Methods

impl evtype[src]

pub const None: Self[src]

No event. This is a placeholder, and glk_select() never returns it (but

  • glk_select_poll() might).

pub const Timer: Self[src]

An event that repeats at fixed intervals.

pub const CharInput: Self[src]

A keystroke event in a window.

pub const LineInput: Self[src]

A full line of input completed in a window.

pub const MouseInput: Self[src]

A mouse click in a window.

pub const Arrange: Self[src]

An event signalling that the sizes of some windows have changed.

pub const Redraw: Self[src]

An event signalling that graphics windows must be redrawn.

pub const SoundNotify: Self[src]

The completion of a sound being played in a sound channel.

The selection of a hyperlink in a window.

pub const VolumeNotify: Self[src]

The completion of a gradual volume change in a sound channel.

Trait Implementations

impl Clone for evtype[src]

impl Copy for evtype[src]

impl Eq for evtype[src]

impl PartialEq<evtype> for evtype[src]

impl Debug for evtype[src]

impl StructuralPartialEq for evtype[src]

impl StructuralEq for evtype[src]

Auto Trait Implementations

impl Send for evtype

impl Sync for evtype

impl Unpin for evtype

impl UnwindSafe for evtype

impl RefUnwindSafe for evtype

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]