|
co_ecs 0.9.0
Cobalt ECS
|
Component metadata. Stores an ID, size, alignment, destructor, etc. More...
#include <component.hpp>
Public Member Functions | |
| constexpr auto | operator<=> (const component_meta &rhs) const noexcept |
| Spaceship operator. | |
| constexpr auto | operator== (const component_meta &rhs) const noexcept -> bool |
| Equality operator. | |
Static Public Member Functions | |
| template<component T> | |
| static auto | of () noexcept -> component_meta |
| Constructs component_meta for type T. | |
Public Attributes | |
| component_id_t | id |
| const type_meta * | type |
Component metadata. Stores an ID, size, alignment, destructor, etc.
|
inlinestaticnoexcept |
Constructs component_meta for type T.
| T | Component type |
|
inlineconstexprnoexcept |
Spaceship operator.
| rhs | Right hand side |
|
inlineconstexprnoexcept |
Equality operator.
| rhs | Right hand side |
| component_id_t co_ecs::component_meta::id |
| const type_meta* co_ecs::component_meta::type |