Crate osom_lib_arrays

Source
Expand description

A crate for various arrays implementations.

Modules§

errors
Holds all custom errors for that crate.

Structs§

Array
Represents a fixed-size array but allocated on the heap.
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.