[−][src]Module heaparray::naive_rc
This module contains naively reference counted arrays, both as atomic and regular versions; i.e. if you're not careful, you could make a cycle that never gets deallocated.
Modules
generic | Contains definition for |
ref_counters | Utility structs for reference counting. |
Traits
ArrayRef | A reference to an array, whose clone points to the same data. |
Container | Trait for a simple container. |
CopyMap | Trait for a container indexed by a value that implements |
DefaultLabelledArray | Trait for a labelled array with a default value. |
LabelledArray | Array with an optional label struct stored next to the data. |
LabelledArrayMut | Array with optional label struct stored next to the data that can be mutated |
LabelledArrayRefMut | Array with optional label struct stored next to the data that can be conditionally mutated. |
MakeArray | An array of arbitrary (sized) values that can be safely initialized. |
SliceArray | Array that returns a slice into its contents |
SliceArrayMut | Array that returns a mutable slice into its contents |
Type Definitions
FpArcArray | Atomically reference counted array, referenced using a fat pointer. |
FpRcArray | Reference counted array, referenced using a fat pointer. |
TpArcArray | Atomically reference counted array, referenced using a raw pointer. |
TpRcArray | Reference counted array, referenced using a raw pointer. |