alloc::collections - Rust
Description: Collection types.

alloc

# Module collections

1.36.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§

- TryReserveErrorKindExperimental
  Details of the allocation that caused a `TryReserveError`