Skip to main content

Module collections

Module collections 

1.36.0 · Source
Expand description

Collection types.

Re-exports§

pub use collections::BinaryHeap;
pub use collections::BTreeMap;
pub use collections::BTreeSet;
pub use collections::LinkedList;
pub use collections::VecDeque;

Modules§

binary_heapNon-no_global_oom_handling
A priority queue implemented with a binary heap.
btree_mapNon-no_global_oom_handling
An ordered map based on a B-Tree.
btree_setNon-no_global_oom_handling
An ordered set based on a B-Tree.
linked_listNon-no_global_oom_handling
A doubly-linked list with owned nodes.
vec_dequeNon-no_global_oom_handling
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