Expand description
Common functionality between crates using specs.
At the moment, this module provides two types:
-
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 generic overT
which automatically mergesReady
futures into the component storage forT
.
To make use of these features, you need to ask for the common
feature
like this:
[dependencies.specs]
features = ["common"]
Structs
A draining iterator for
Errors
.
This is the return value of Errors::drain
.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.
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
A boxed, thread-safe future with
T
as item and BoxedErr
as error type.