pub trait EventHandler<E: Event> { // Required method fn handle(&mut self, event: E); }
A handler for application events.
Handles an event.