Skip to main content

FnMutSystem

Type Alias FnMutSystem 

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

System that takes an mutable reference to the World

Trait Implementations§

Source§

impl System for FnMutSystem

Source§

fn is_mut(&self) -> bool

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

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

Apply the system on a mutable reference to World
Source§

fn apply(&self, world: &World)

Apply the system on a reference to World