Expand description
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§
- Auto
Component TypeID - A struct for lazily assigning unique
ComponentTypeID
s. - Component
Registration - A ComponentRegistration is the dynamic version of a type implementing Component.
- Component
TypeID - A component type ID which is unique for a specific component type.
Traits§
- Component
- The component trait is implemented on all component types.