Module specs::world [−][src]
Entities, resources, components, and general world management.
Structs
CreateIter |
An iterator for entity creation. Please note that you have to consume it because iterators are lazy. |
CreateIterAtomic |
An iterator for entity creation. Please note that you have to consume it because iterators are lazy. |
EntitiesRes |
The entities of this ECS. This is a resource, stored in the |
Entity |
|
EntityBuilder |
The entity builder, allowing to build an entity together with its components. |
EntityResBuilder |
An entity builder from |
Generation |
Index generation. When a new entity is placed at an old index,
it bumps the |
LazyBuilder |
Like |
LazyUpdate |
Lazy updates can be used for world updates
that need to borrow a lot of resources
and as such should better be done at the end.
They work lazily in the sense that they are
dispatched when calling |
World |
The |
Traits
Builder |
A common trait for |
Bundle |
Trait used to bundle up resources/components for easy registration with |
Component |
Abstract component type. Doesn't have to be Copy or even Clone. |
Type Definitions
Entities |
A wrapper for a read |
Index |
An index is basically the id of an |