Expand description
Holds the definition of ConstFixedArray, InlineFixedArray and FixedArray.
Unlike dynamic arrays, fixed arrays’ capacity does not change once initialized. Its size still does change though.
Structs§
- Const
Buffer - This struct allows for iterating over a fixed-length blocks of arrays, given a big chunk of arbitrary length array.
- Const
Bufferer - A helper struct for buffering the data in
ConstBuffer. - Const
Fixed Array - A fixed-capacity array. This type is a const (as in: compile time) analogue of
InlineFixedArray. - Fixed
Array - A fixed-capacity array. This type is similar to
DynamicArray, except its capacity is fixed at runtime, instead of compile time. Internally it keeps a pointer to heap allocated data. That heap allocated data is never resized during the array’s lifetime. - Inline
Fixed Array - A fixed-capacity array. This type is similar to
DynamicArray, except its capacity is fixed at compile time, and doesn’t change at runtime. The “Inline” prefix indicates that the data is stored inside the struct itself, meaning its size depends onTSIZE.