[][src]Trait legion_systems::SystemFn

pub trait SystemFn {
    type Resources;
    type Queries;
    fn run(
        &mut self,
        commands: &mut CommandBuffer,
        world: &mut SubWorld,
        resources: &mut Self::Resources,
        queries: &mut Self::Queries
    ); }

Supertrait used for defining systems. All wrapper objects for systems implement this trait.

This trait will generally not be used by users.

Associated Types

Loading content...

Required methods

fn run(
    &mut self,
    commands: &mut CommandBuffer,
    world: &mut SubWorld,
    resources: &mut Self::Resources,
    queries: &mut Self::Queries
)

Loading content...

Implementors

Loading content...