Skip to main content

Module storage

Module storage 

Source
Expand description

Traits abstracting over storage strategies and index types.

Structs§

AllocStoragealloc
A fat pointer to a heap-allocated storage block conforming to a LayoutSpec.
ArenaStorage
A fat pointer to an arena-allocated storage block conforming to a LayoutSpec.
ArrayLayout
Inconstructible type to mark data structures that require an array-like storage layout.

Traits§

Capacity
Types that can be used for indexing into array-like data structures.
LayoutSpec
Types that specify a data structure’s storage layout requirements.
Storage
An interface to a contiguous memory block for use by data structures.

Type Aliases§

InlineStorage
Shorthand for [MaybeUninit<T>; C] for use with generic data structures.
SliceStorage
Shorthand for &'a mut [MaybeUninit<T>] for use with generic data structures.