pub trait System: 'static {
// Required method
fn run(&mut self, world: &World, resources: &Resources);
}Expand description
A runnable system — the type-erased form IntoSystem produces, so
different systems (different parameter lists) can live in the same
Vec<Box<dyn System>>.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".