Skip to main content

System

Trait System 

Source
pub trait System: 'static {
    // Required method
    fn run(&self, world: &mut World);
}
Expand description

System trait

Required Methods§

Source

fn run(&self, world: &mut World)

Run the system on world

Implementors§

Source§

impl<F: ToFilter, C: Fn(Query, &mut World)> System for QuerySystem<F, C>
where Self: 'static,