Trait bevy::ecs::system::SystemParamState
[−]pub unsafe trait SystemParamState: 'static + Send + Sync {
fn init(world: &mut World, system_meta: &mut SystemMeta) -> Self;
fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
) { ... }
fn apply(&mut self, _world: &mut World) { ... }
}
Expand description
The state of a SystemParam
.
Safety
It is the implementor’s responsibility to ensure system_meta
is populated with the exact
World
access used by the SystemParamState
(and associated SystemParamFetch
).
Additionally, it is the implementor’s responsibility to ensure there is no
conflicting access across all SystemParam
’s.