pub trait SystemParam: Sized {
type Item<'world>: SystemParam;
// Required method
fn get_param<'world>(world: UnsafeWorldCell<'world>) -> Self::Item<'world>;
}
Required Associated Types§
type Item<'world>: SystemParam
Required Methods§
fn get_param<'world>(world: UnsafeWorldCell<'world>) -> Self::Item<'world>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.