pub trait System<W> {
// Required methods
fn name(&self) -> &str;
fn run(&mut self, ctx: &FrameCtx, world: &mut W);
}Expand description
A named system that runs each frame against the world W.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".