Skip to main content

named_system

Function named_system 

Source
pub fn named_system<F>(
    name: &'static str,
    function: F,
) -> SystemSpec<WorldSystem<F>>
where F: FnMut(&mut SimpleWorld, &Env),
Expand description

Wrap a world/env closure together with its registration name.