Module oxygengine::prelude[][src]

Modules

Macros

Structs

A collection of entities having the same component types

Determines freshness of information derived from World::archetypes

Error indicating that a ColumnBatchBuilder was missing components

Handle for appending components

Batched version of QueryIter

The output of an EntityBuilder, suitable for passing to World::spawn or World::insert

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

Lightweight unique ID, or handle, of an entity

Helper for incrementally constructing a bundle of components with dynamic component types

Handle to an entity with any component types

Typed Unique Identifier (uuidv4).

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

Represents a YAML number, whether integer or floating point.

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

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

A borrow of a World sufficient to execute the query Q on a single entity

Shared borrow of an entity’s component

Unique borrow of an entity’s component

Entity IDs created by World::spawn_batch

Metadata required to store a component

Query transformer skipping entities that do not have a T component

Query transformer skipping entities that have a T component

An unordered collection of entities, each having any number of distinctly typed components

Enums

Traits

A statically typed collection of components

Types that can be components, implemented automatically for all Send + Sync + 'static types

A dynamically typed collection of components

Streaming iterators over contiguous homogeneous ranges of components

A collection of component types to fetch from a World

Functions

Type Definitions

Derive Macros

Implement Bundle for a struct

Implement Query for a struct