pub trait SystemFn<R: ResourceSet<'static>, Q: QuerySet> {
fn run(
&mut self,
commands: &mut CommandBuffer,
world: &mut SubWorld<'_>,
resources: &mut R::Result,
queries: &mut Q
);
}
Expand description
A function which can provide the body of a system.