[][src]Module heaparray::fat_array_ptr

Contains definition of FatPtrArray, an array whose pointer is 2 words.

This is the typical representation of unsized references in Rust, and is thus also the default implementation of HeapArray as imported by use heaparray::*;

Structs

FatPtrArray

Heap-allocated array, with array size stored with the pointer to the memory.

Traits

Array

Statically-sized array stored in the heap.

ArrayRef

A reference to an array, whose clone points to the same data.

AtomicArrayRef

Atomically modified array reference. Guarrantees that all operations on the array reference are atomic (i.e. all changes to the internal array pointer).

BaseArrayRef

A basic reference to a heap-allocated array. Should be paired with exactly one of either heaparray::UnsafeArrayRef or heaparray::ArrayRef.

Container

Trait for a simple container.

CopyMap

Trait for a container indexed by a value that implements Copy and Eq.

DefaultLabelledArray

Trait for a labelled array with a default value.

LabelledArray

Array with an optional label struct stored next to the data.

MakeArray

An array of arbitrary (sized) values that can be safely initialized.

UnsafeArrayRef

A reference to a heap-allocated array whose safe API guarrantees it to always be non-null.