pub trait World<I> {
// Required methods
fn new() -> Self;
fn run_systems(&mut self, input: I);
}Expand description
World definition
§Example
For a working example, please see official github repo workspace inside the example lib.
Required Methods§
fn new() -> Self
fn run_systems(&mut self, input: I)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.