Skip to main content

into_system

Function into_system 

Source
pub fn into_system(
    name: impl Into<String>,
    f: impl FnMut(&mut World) + Send + Sync + 'static,
) -> Box<dyn System>
Expand description

Wraps a closure as a boxed System.