logo
pub trait SystemParamFunction<In, Out, Param, Marker>: 'static + Send + Sync where
    Param: SystemParam
{ unsafe fn run(
        &mut self,
        input: In,
        state: &mut <Param as SystemParam>::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