Skip to main content

system_value

Function system_value 

Source
pub fn system_value<I: SystemInput + 'static, O: 'static, M>(
    system: impl IntoSystem<I, O, M>,
) -> SystemHandleTemplate<I, O>
Expand description

This will create a new SystemHandleTemplate for the given system value. This makes it possible to define systems “inline” in templates / scenes that produce a SystemHandle.