Trait bevy_ecs::system::ExclusiveSystemParamFunction
source · pub trait ExclusiveSystemParamFunction<Param: ExclusiveSystemParam, Marker>: Send + Sync + 'static {
fn run(
&mut self,
world: &mut World,
param_value: ExclusiveSystemParamItem<'_, Param>
);
}
Expand description
A trait implemented for all exclusive system functions that can be used as System
s.
This trait can be useful for making your own systems which accept other systems, sometimes called higher order systems.