Trait bevy_ecs::system::SystemParamFunction[][src]

pub trait SystemParamFunction<In, Out, Param: SystemParam, Marker>: Send + Sync + 'static {
    unsafe fn run(
        &mut self,
        input: In,
        state: &mut Param::Fetch,
        system_meta: &SystemMeta,
        world: &World,
        change_tick: u32
    ) -> Out; }
Expand description

A trait implemented for all functions that can be used as Systems.

Required methods

Safety

This call might access any of the input parameters in an unsafe way. Make sure the data access is safe in the context of the system scheduler.

Implementors