Crate department

Source
Expand description

An implementation of the proposed Storages API, including both Storage implementations as well as common collections built on top of it.

Modulesยง

alloc
Storage implementation that is backed by an Allocator
backing
A simple type for defining a backing storage in a more declarative manner and more flexibly than an int array
base
The base of the whole API, the storage trait itself and its various extensions.
boxed
A storage-based implementation of std::boxed
collections
Implementations of some common collection types, using storages for memory.
debug
Storage implementation which wraps another storage implementation, and provides runtime panics for most forms of incorrect usage.
error
The common error handling types used by department
fallback
Storage implementation which tries to allocate into one storage, and falls back to a second if that fails.
handles
Common handle implementations, used across multiple storages
heap
Storage implementation which stores items in a virtual heap, either on the stack or in a static
inline
Storage implementations which store their items inline, on the stack.
rc
A storage-based implementation of std::rc
statics
Storage implementations which store their items in pre-set static memory regions.
string
A storage-based implementation of std::string