pub trait BasicCallableSystem: SystemParam {
    // Required method
    fn system(world: &mut World, state: &mut SystemState<Self>, id: CallId);
}
Expand description

Implemented types can be called like normal functions.

  • accepts no function arguments

Required Methods§

source

fn system(world: &mut World, state: &mut SystemState<Self>, id: CallId)

Implementation of the callable system for callables with no arguments.

Object Safety§

This trait is not object safe.

Implementors§