Module arrays

Source
Expand description

Module for various arrays implementations.

Structs§

DynamicArray
A dynamic array that grows when inserting elements. Similar to std::vec::Vec in its nature.
ImmutableArray
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.
ImmutableArrayBuilder
A builder for ImmutableArray.
ImmutableWeakArray
A weak reference to an ImmutableArray.
InlineDynamicArray
A struct similar to DynamicArray, but holds N items inlined. Meaning it won’t allocate memory until it exceeds N elements.

Enums§

DynamicArrayConstructionError
Represents an error that occurs when constructing new DynamicArray.
ImmutableArrayConstructionError
Represents an error that occurs when constructing new ImmutableArray.
InlineDynamicArrayConstructionError
Represents an error that occurs when constructing new InlineDynamicArray.