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

A priority queue implemented with a binary heap.

An ordered map based on a B-Tree.

An ordered set based on a B-Tree.

A doubly-linked list with owned nodes.

A double-ended queue implemented with a growable ring buffer.

Structs

The error type for try_reserve methods.

Enums

Details of the allocation that caused a TryReserveError