pub trait IntoSystem<Marker> {
type System: System;
// Required method
fn into_system(self) -> Self::System;
}Expand description
Implemented for any function whose parameters are all SystemParams —
this is what lets a plain fn my_system(time: Read<Time>) be passed
directly to add_system.
Required Associated Types§
Required Methods§
fn into_system(self) -> Self::System
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".