pub trait System {
// Required method
fn update(&mut self, world: &mut World, dt: f32);
// Provided method
fn name(&self) -> &str { ... }
}Expand description
Ein Durchgang über die Welt (Bewegung, KI, Streaming …).
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".