Module oxygengine_core::ecs
source · [−]Modules
A macro for declaring lazily evaluated statics.
Structs
A collection of entities having the same component types
Shared reference to a single column of component data in an
Archetype
Unique reference to a single column of component data in an
Archetype
Determines freshness of information derived from
World::archetypes
A sequence of entities yielded by
BatchedIter
Error indicating that a
ColumnBatchBuilder
was missing componentsHandle for appending components
Batched version of
QueryIter
A collection of components that implement
Clone
A collection of component data for entities with the same component types
An incomplete collection of component data for entities with the same component types
A collection of component types
Records operations for future application to a
World
Type-erased
Clone
implementationLightweight unique ID, or handle, of an entity
Helper for incrementally constructing a bundle of components with dynamic component types
Variant of
EntityBuilder
that clones components on useHandle to an entity with any component types
Iterator over all of a world’s entities
Error indicating that an entity did not have a required component
Error indicating that no entity with a particular ID exists
A prepared query can be stored independently of the
World
to amortize query set-up costs.Combined borrow of a
PreparedQuery
and a World
Iterates over all entities matching a
PreparedQuery
Provides random access to the results of a prepared query
A borrow of a
World
sufficient to execute the query Q
Iterator over the set of entities with the components in
Q
A query builder that’s convertible directly into an iterator
Shared borrow of an entity’s component
Unique borrow of an entity’s component
A query that yields
true
iff an entity would satisfy the query Q
Entity IDs created by
World::spawn_batch
Iterator over
Entity
s spawned by World::spawn_column_batch()
An entity removed from a
World
Metadata required to store a component.
Provides random access to the results of a query
Query transformer skipping entities that do not satisfy another query
Query transformer skipping entities that satisfy another query
An unordered collection of entities, each having any number of distinctly typed components
Enums
Errors that arise when accessing components
Holds an
L
, or an R
, or bothErrors that arise when querying a single entity
Traits
A statically typed collection of components
Types that can be components, implemented automatically for all
Send + Sync + 'static
types&T
or &mut T
where T
is some component type&T
where T
is some component typeA dynamically typed collection of components
A dynamically typed collection of cloneable components
Streaming iterators over contiguous homogeneous ranges of components
Marker trait indicating whether a given
Query
will not produce unique referencesType Definitions
Derive Macros
Implement
Bundle
for a structImplement
DynamicBundleClone
for a struct.Implement
Query
for a struct