[−][src]Type Definition amethyst::prelude::Callback
type Callback = Box<dyn Fn(&mut World) + Send>;
The type of a callback.
This is meant to be created from within asynchonous functions (Future
for example).
See CallbackQueue
for more details.