Expand description
Structs§
- Bundle
Id - For a specific
World
, this stores a unique value identifying a type of a registeredBundle
. - Bundle
Info - Stores metadata associated with a specific type of
Bundle
for a givenWorld
. - Bundles
- Metadata for bundles. Stores a
BundleInfo
for each type ofBundle
in a given world.
Enums§
- Insert
Mode - What to do on insertion if a component already exists.
Traits§
- Bundle
- The
Bundle
trait enables insertion and removal ofComponent
s from an entity. - Bundle
Effect - An operation on an
Entity
that occurs after inserting theBundle
that defined this bundle effect. The order of operations is: - Bundle
From Components - Creates a
Bundle
by taking it from internal storage. - Dynamic
Bundle - The parts from
Bundle
that don’t require statically knowing the components of the bundle. - NoBundle
Effect - A trait implemented for
BundleEffect
implementations that do nothing. This is used as a type constraint forBundle
APIs that do not / cannot runDynamicBundle::Effect
, such as “batch spawn” APIs.