Module chunked::component[][src]

Base definitions for components.

All entities in this library are built out of components. There is no intrinsic value to an entity. This module provides means of defining and managing components.

Each component type is allocated a unique ID. There is a macro (component) to help you assign this unique ID.

Structs

AutoComponentTypeID

A struct for lazily assigning unique ComponentTypeIDs.

ComponentRegistration

A ComponentRegistration is the dynamic version of a type implementing Component.

ComponentTypeID

A component type ID which is unique for a specific component type.

Traits

Component

The component trait is implemented on all component types.