pub unsafe trait SystemParamState:
Send
+ Sync
+ 'static {
// Required method
fn init(world: &mut World, meta: &mut SystemMeta) -> Self;
// Provided method
fn apply(&mut self, _world: &mut World) { ... }
}
Required Methods§
fn init(world: &mut World, meta: &mut SystemMeta) -> Self
Provided Methods§
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.