[−][src]Module specs::world
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 | A [Resource] container, which provides methods to insert, access and manage the contained resources. |
Traits
Builder | A common trait for |
Component | Abstract component type. Doesn't have to be Copy or even Clone. |
WorldExt | This trait provides some extension methods to make working with shred's [World] easier. |
Type Definitions
Entities | A wrapper for a read |
Index | An index is basically the id of an |