Expand description
Module for various arrays implementations.
Structs§
- Dynamic
Array - A dynamic array that grows when inserting elements. Similar to
std::vec::Vec
in its nature. - Immutable
Array - A smart pointer to an immutable array. It tracks both strong and weak references to the array, and is thread safe. Therefore cloning of this struct is very cheap.
- Immutable
Array Builder - A builder for
ImmutableArray
. - Immutable
Weak Array - A weak reference to an
ImmutableArray
. - Inline
Dynamic Array - A struct similar to
DynamicArray
, but holdsN
items inlined. Meaning it won’t allocate memory until it exceedsN
elements.
Enums§
- Dynamic
Array Construction Error - Represents an error that occurs when constructing new
DynamicArray
. - Immutable
Array Construction Error - Represents an error that occurs when constructing new
ImmutableArray
. - Inline
Dynamic Array Construction Error - Represents an error that occurs when constructing new
InlineDynamicArray
.