Struct specs::common::Merge[][src]

pub struct Merge<F> { /* fields omitted */ }

A system which merges Ready futures into the persistent storage. Please note that your World has to contain a component storage for F and F::Item.

In case of an error, it will be added to the Errors resource.

Methods

impl<F> Merge<F>
[src]

Creates a new merge system.

Trait Implementations

impl<F> Default for Merge<F>
[src]

Returns the "default value" for a type. Read more

impl<'a, T, F> System<'a> for Merge<F> where
    T: Component + Send + Sync + 'static,
    F: Future<Item = T, Error = BoxedErr> + Component + Send + Sync
[src]

The resource bundle required to execute this system. Read more

Executes the system with the required system data. Read more

Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more

Return the accessor from the [SystemData].

Sets up the Resources using Self::SystemData::setup.

Auto Trait Implementations

impl<F> Send for Merge<F> where
    F: Send

impl<F> !Sync for Merge<F>