Struct rugra::window::EventState
[−]
[src]
pub struct EventState { pub right: bool, pub left: bool, pub chars: String, pub keys: Vec<SpecialKey>, }
The event state
Used for storing information of the events.
Is exposed through methods of Window
.
Fields
right | |
left | |
chars | |
keys |
Methods
impl EventState
fn new() -> Self
Create new default event state