Expand description
Bevy’s entity-component-system.
Modules
- Types for defining
Archetype
s, collections of entities that have the same set of components. - Types for handling
Bundle
s. - Types that detect when their internal data mutate.
- Types for declaring and storing
Component
s. - Entity handling types.
- Event handling types.
- A module for the unified
Identifier
ID struct, for use as a representation of multiple types of IDs in a single, packed type. Allows for describing ancrate::entity::Entity
, or other IDs that can be packed and expressed within au64
sized type.Identifier
s cannot be created directly, only able to be converted from other compatible IDs. - Most commonly used re-exported types.
- Bevy Ptr
- Contains APIs for retrieving component data from the world.
- Types that enable reflection support.
- Alerting events when a component is removed from an entity.
- Contains APIs for ordering systems and executing them on a
World
- Storage layouts for ECS data.
- Tools for controlling behavior in an ECS application.
- Defines the
World
and APIs for accessing it directly.
Macros
- Helper macro to generate tuple pyramids. Useful to generate scaffolding to work around Rust lacking variadics. Invoking
all_tuples!(impl_foo, start, end, P, Q, ..)
invokesimpl_foo
providing ident tuples through aritystart..=end
.