Trait EventHandler
pub trait EventHandler<E, R = ()>: 'staticwhere
E: EventDescriptor,{
// Required method
fn call(&mut self, event: <E as EventDescriptor>::EventTy);
}
pub trait EventHandler<E, R = ()>: 'staticwhere
E: EventDescriptor,{
// Required method
fn call(&mut self, event: <E as EventDescriptor>::EventTy);
}