[][src]Trait sylasteven::System

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.

Required methods

fn process(&mut self, handler: &mut H)

Process all systems one after another.

Loading content...

Implementors

Loading content...