[−][src]Crate bevy_ecs
Modules
lazy_static | A macro for declaring lazily evaluated statics. |
prelude |
Macros
smaller_tuples_too | Imagine macro parameters, but more like those Russian dolls. |
Structs
Added | |
Archetype | A collection of entities having the same component types |
ArchetypeAccess | Provides information about the archetypes a System reads and writes |
ArchetypesGeneration | Determines freshness of information derived from |
BatchedIter | Batched version of |
BuiltEntity | The output of an |
Changed | |
Commands | A queue of Commands to run on the current World and Resources |
CommandsInternal | |
Entity | Lightweight unique ID of an entity |
EntityBuilder | Helper for incrementally constructing a bundle of components with dynamic component types |
EntityRef | Handle to an entity with any component types |
ExecutorStage | |
FetchResourceLocalMut | Fetches a |
FetchResourceRead | Fetches a shared resource reference |
FetchResourceWrite | Fetches a unique resource reference |
Insert | |
InsertResource | |
Iter | Iterator over all of a world's entities |
Local | Local |
Location | |
MissingComponent | Error indicating that an entity did not have a required component |
Mut | Unique borrow of an entity's component |
Mutated | |
NoSuchEntity | Error indicating that no entity with a particular ID exists |
ParallelExecutor | Executes each schedule stage in parallel by analyzing system dependencies. System execution order is undefined except under the following conditions: |
ParallelExecutorOptions | This can be added as an app resource to control the global |
Query | Provides scoped access to a World according to a given HecsQuery |
QueryBorrow | A borrow of a |
QueryIter | Iterator over the set of entities with the components in |
QueryOne | A borrow of a |
Ref | Shared borrow of an entity's component |
RefMut | Unique borrow of an entity's component |
Res | Shared borrow of a Resource |
ResMut | Unique borrow of a Resource |
Resources | A collection of resource instances identified by their type. |
Schedule | An ordered collection of stages, which each contain an ordered list of Systems. Schedules are essentially the "execution plan" for an App's systems. They are run on a given World and Resources reference. |
SpawnBatchIter | Entity IDs created by |
SystemId | |
TypeAccess | Provides information about the types a System reads and writes |
TypeInfo | Metadata required to store a component |
With | Query transformer skipping entities that do not have a |
Without | Query transformer skipping entities that have a |
World | An unordered collection of entities, each having any number of distinctly typed components |
WorldBuilder | Modify a World using the builder pattern |
Enums
Access | Type of access a |
Command | |
ComponentError | Errors that arise when accessing components |
QueryError | An error that occurs when using a Query |
ResourceIndex | |
ThreadLocalExecution | Determines the strategy used to run the |
Traits
Bundle | A statically typed collection of components |
Component | Types that can be components, implemented automatically for all |
DynamicBundle | A dynamically typed collection of components |
Fetch | Streaming iterators over contiguous homogeneous ranges of components |
FetchResource | Streaming iterators over contiguous homogeneous ranges of resources |
FromResources | Creates |
HecsQuery | A collection of component types to fetch from a |
IntoForEachSystem | Converts |
IntoQuerySystem | Converts |
IntoThreadLocalSystem | Converts |
Query | A collection of component types to fetch from a |
Resource | A Resource type |
ResourceQuery | A collection of resource types fetch from a |
ResourcesWriter | |
System | An ECS system that can be added to a Schedule |
ThreadLocalSystemFn | A thread local system function |
UnsafeClone | A clone that is unsafe to perform. You probably shouldn't use this. |
WorldBuilderSource | Converts a reference to |
WorldWriter | A World mutation |
Derive Macros
Bundle | Implement |