Trait hecs_schedule::system::System[][src]

pub trait System<Args, Ret> {
    fn execute(&mut self, context: &Context<'_>) -> Result<()>;
fn name(&self) -> SystemName;
fn borrows() -> Borrows; }
Expand description

Trait which defines any function or type that can operate on a world or other context.

Required methods

Executes the by borrowing from context

Returns the system name. Used for debug purposes

Returns which data will be accessed

Implementors