pub type ComponentVec<T> = ArrayVec<T, MAX_COMPONENTS>;
Expand description
An ArrayVec
with capacity for MAX_COMPONENTS
elements.
This exists since these are used throughout the game_objects module, and
this allows dependents to e.g. implement the GameObject
trait without
depending on arrayvec
.
Aliased Typeยง
struct ComponentVec<T> { /* private fields */ }