pub struct ScheduleBuilder { /* private fields */ }
Expand description

Builder for incrementally constructing a schedule.

Implementations

Creates a new ScheduleBuilder

Add a system to the builder

Append all system from other into self, leaving other empty. This allows constructing smaller schedules in different modules and then joining them together. Work will be paralellized between the two schedules.

Inserts a barrier that will divide the schedule pararell execution in two dependant halves.

Usually this is not required, as the borrows of the system automatically creates dependencies, but sometimes a manual dependency is needed for things such as interior mutability or channels.

Flush the commandbuffer and apply the commands to the world

FLushes the commandbuffer and builds the schedule.

Trait Implementations

Returns the “default value” for a type. Read more

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

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.