Skip to main content

TickSystem

Trait TickSystem 

Source
pub trait TickSystem: Send + Sync {
    // Required methods
    fn tick(&self, world: &mut World, dt: f32);
    fn name(&self) -> &'static str;
}

Required Methods§

Source

fn tick(&self, world: &mut World, dt: f32)

Source

fn name(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§