pub trait SystemParamFunction<Marker> {
type Param: SystemParam + 'static;
// Required method
fn run(&self, param: <Self::Param as SystemParam>::Item<'_, '_>);
}
Expand description
A function that takes a SystemParam
as input.
Required Associated Types§
Sourcetype Param: SystemParam + 'static
type Param: SystemParam + 'static
The SystemParam
.
Required Methods§
Sourcefn run(&self, param: <Self::Param as SystemParam>::Item<'_, '_>)
fn run(&self, param: <Self::Param as SystemParam>::Item<'_, '_>)
Run the function with the provided SystemParam
’s item.