Struct specs::Planner [] [src]

pub struct Planner<C> {
    pub systems: Vec<SystemInfo<C>>,
    // some fields omitted
}

System execution planner. Allows running systems via closures, distributes the load in parallel using a thread pool.

Fields

Permanent systems in the planner.

Methods

impl<C: 'static> Planner<C>
[src]

Creates a new planner, given the world and the thread count.

Add a system to the dispatched list.

Runs a custom system.

Waits for all currently executing systems to finish, and then returns the mutable borrow of the world, allowing to create entities instantly.

Waits for all currently executing systems to finish, and then merges all queued changes.

impl<C: Clone + Send + 'static> Planner<C>
[src]

Dispatch all systems according to their associated priorities.

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]

impl<C: 'static> Planner<C>
[src]