Enum termion::event::Event [−][src]
pub enum Event { Key(Key), Mouse(MouseEvent), Unsupported(Vec<u8>), }
Expand description
An event reported by the terminal.
Variants
A key press.
Tuple Fields of Key
0: Key
A mouse button press, release or wheel use at specific coordinates.
Tuple Fields of Mouse
0: MouseEvent
An event that cannot currently be evaluated.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more