pub struct SystemStages {
    pub stages: Vec<Box<dyn SystemStage + 'static, Global>, Global>,
}
Expand description

An ordered collection of SystemStages.

Fields§

§stages: Vec<Box<dyn SystemStage + 'static, Global>, Global>

The stages in the collection, in the order that they will be run.

Implementations§

Initialize the systems in the stages agains the World.

This must be called once before calling run().

Execute the systems on the given world.

Note: You must call initialize_systems() once before calling run() one or more times.

Create a SystemStages collection, initialized with a stage for each CoreStage.

Add a System to the stage with the given label.

Insert a new stage, before another existing stage

Insert a new stage, after another existing stage

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.