pub fn context_system<F>(function: F) -> ContextSystem<F>where
F: for<'w, 'e, 'c> FnMut(&mut SystemContext<'w, 'e, 'c>),Expand description
Wrap a FnMut(&mut SystemContext) closure as a runtime system.
pub fn context_system<F>(function: F) -> ContextSystem<F>where
F: for<'w, 'e, 'c> FnMut(&mut SystemContext<'w, 'e, 'c>),Wrap a FnMut(&mut SystemContext) closure as a runtime system.