Trait System
sylasteven
pub trait System<H: Handler> { fn process(&mut self, handler: &mut H); }
A system trait, which process their events by passing them to handlers. Systems generate events and pass them to a handler.
fn process(&mut self, handler: &mut H)
Process all systems one after another.