Skip to main content

FnSystem

Type Alias FnSystem 

Source
pub type FnSystem = fn(&World);
Expand description

System that takes an immutable reference to the World

Trait Implementations§

Source§

impl System for FnSystem

Source§

fn is_mut(&self) -> bool

Whether this System takes a mutable reference to the World or not
Source§

fn apply(&self, world: &World)

Apply the system on a reference to World
Source§

fn apply_mut(&self, world: &mut World)

Apply the system on a mutable reference to World