pub trait IntoSystem<Params> {
// Required method
fn into_system(self, name: &'static str) -> Box<dyn System>;
}Expand description
Converts a compatible function into a boxed System.
Implemented for parameterized functions fn(P0, P1, ...) where each P
is a SystemParam.
Required Methods§
fn into_system(self, name: &'static str) -> Box<dyn System>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".