Enum andiskaz::event::Event [−][src]
pub enum Event {
Resize(ResizeEvent),
Key(KeyEvent),
}
Expand description
A generic event type.
Variants
Resize(ResizeEvent)
User resized screen.
Tuple Fields of Resize
0: ResizeEvent
Key(KeyEvent)
User pressed key.
Tuple Fields of Key
0: KeyEvent
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more