Enum kernel::common::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

A unknown event

None

No event