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: bool
left: bool
chars: String
keys: Vec<SpecialKey>
Methods
impl EventState
[src]
fn new() -> Self
Create new default event state