Module specs::common [] [src]

Common functionality you might need when using Specs.

At the moment, this module provides two types:

To make use of these features, you need to ask for the common feature like this:

[dependencies.specs]
# version = "..."
features = ["common"]

Structs

BoxedErr

A boxed error implementing Debug, Display and Error.

Errors

A resource you can use to store errors that occurred outside of the ECS but were catched inside, therefore should be handled by the user.

Merge

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.

Type Definitions

BoxedFuture

A boxed, thread-safe future with T as item and BoxedErr as error type.