[][src]Module dces::component

Structs

ComponentBox

This struct is used to store a component with its type id. Used for dynamic component adding.

EntityBuilder

The entity builder is used to create an entity with components.

EntityComponentManager

The EntityComponentManager represents the main entity and component storage.

SharedComponentBox

This struct is used to store a shared component with its type id. Used for dynamic component adding.

StringComponentBuilder

The StringComponentBuilder is used to build a set of string key based components.

StringComponentStore

The StringComponentStore stores the components of entities and uses strings as component keys. It could be used to borrow the components of the entities.

TypeComponentBuilder

The TypeComponentBuilder is used to build a set of type key based components.

TypeComponentStore

The TypeComponentStore stores the components of all entities. It could be used to borrow the components of the entities.

Traits

Component

This trait is used to internal handle all components types. This trait is implicitly implemented for all other types.

ComponentStore

This trait is used to define a custom component store.