pub trait RunNow<'a> {
// Required methods
fn run_now(&mut self, world: &'a World);
fn setup(&mut self, world: &mut World);
// Provided method
fn dispose(self: Box<Self>, world: &mut World) { ... }
}Expand description
Trait for fetching data and running systems. Automatically implemented for systems.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".