pub trait OnEvent { // Required method fn on_event(&mut self, e: &Event); }
OnEvent trait called to receive an event