Skip to main content

named_context_system

Function named_context_system 

Source
pub fn named_context_system<F>(
    name: &'static str,
    function: F,
) -> SystemSpec<ContextSystem<F>>
where F: for<'w, 'e, 'c> FnMut(&mut SystemContext<'w, 'e, 'c>),
Expand description

Wrap a context-aware closure together with its registration name.