[−][src]Trait buttons::Event
A trait for events that can modify input state.
Required methods
fn handle(&self, handler: &mut Handler)
Modify the state of the provided handler (for example, a Mouse
or
Keyboard
).
This should rarely be called directly. Instead, pass this event to
the handler's handle_event
method.