pub trait SystemParam {
type Item<'a>;
type State: Default + 'static;
// Required method
fn fetch<'a>(
world: &'a World,
resources: &'a Resources,
state: &'a mut Self::State,
) -> Self::Item<'a>;
}Expand description
Required Associated Types§
Required Methods§
fn fetch<'a>( world: &'a World, resources: &'a Resources, state: &'a mut Self::State, ) -> Self::Item<'a>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".