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
fn name(&self) -> SystemName
fn name(&self) -> SystemName
Returns the system name. Used for debug purposes
