# Module alloc::collections

1.0.0 · source ·
Expand description

Collection types.

## Re-exports

- `pub use binary_heap::BinaryHeap;`
- `pub use btree_map::BTreeMap;`
- `pub use btree_set::BTreeSet;`
- `pub use linked_list::LinkedList;`
- `pub use vec_deque::VecDeque;`

## Modules

- binary_heap
  A priority queue implemented with a binary heap.
- btree_map
  An ordered map based on a B-Tree.
- btree_set
  An ordered set based on a B-Tree.
- linked_list
  A doubly-linked list with owned nodes.
- vec_deque
  A double-ended queue (deque) implemented with a growable ring buffer.

## Structs

- TryReserveError
  The error type for `try_reserve` methods.

## Enums

- TryReserveErrorKind Experimental
  Details of the allocation that caused a `TryReserveError`