Enum input::Event [−][src]
pub enum Event {
Key(KeyEvent),
Meta(MetaEvent),
Mouse(MouseEvent),
None,
Resize(u16, u16),
}Expand description
An event, either from an input device, system change or action event.
Variants
Key(KeyEvent)A keyboard event.
Meta(MetaEvent)An action event.
Mouse(MouseEvent)A mouse event.
An empty event.
A terminal resize event.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Eventimpl UnwindSafe for EventBlanket Implementations
Mutably borrows from an owned value. Read more