Enum redox::orbital::event::EventOption [] [src]

pub enum EventOption {
    Mouse(MouseEvent),
    Key(KeyEvent),
    Quit(QuitEvent),
    Unknown(Event),
    None,
}

An optional event

Variants

Mouse

A mouse event

Key

A key event

Quit

A quit request event

Unknown

An unknown event

None

No event

Trait Implementations

Derived Implementations

impl Clone for EventOption

fn clone(&self) -> EventOption

fn clone_from(&mut self, source: &Self)

impl Copy for EventOption