[−][src]Crate rangoon
Structs
Archetype | A collection of entities having the same component types |
ArchetypesGeneration | Determines freshness of information derived from |
BatchedIter | Batched version of |
BuiltEntity | The output of an |
CanvasContext | |
Entity | Lightweight unique ID, or handle, 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 |
Graphics | |
Iter | Iterator over all of a world's entities |
MissingComponent | Error indicating that an entity did not have a required component |
Mutex | A spin-based lock providing mutually exclusive access to data. |
MutexGuard | A generic guard that will protect some data access and uses either a ticket lock or a normal spin mutex. |
NoSuchEntity | Error indicating that no entity with a particular ID exists |
QueryBorrow | A borrow of a |
QueryIter | Iterator over the set of entities with the components in |
QueryMut | A query builder that's convertible directly into an iterator |
QueryOne | A borrow of a |
Ref | Shared borrow of an entity's component |
RefMut | Unique borrow of an entity's component |
SpawnBatchIter | Entity IDs created by |
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 |
Enums
Access | Type of access a |
ComponentError | Errors that arise when accessing components |
Traits
Bundle | A statically typed collection of components |
Canvas2dApi | |
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 |
Game | |
Query | A collection of component types to fetch from a |
Functions
random |
Type Definitions
QueryItem | Type of values yielded by a query |