Skip to main content

Module collections

Module collections 

1.36.0 ยท Source
Expand description

Collection types.

Re-exportsยง

use core::fmt::Display; ๐Ÿ”’
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;
use crate::alloc::Layout; ๐Ÿ”’
use crate::alloc::LayoutError; ๐Ÿ”’

Modulesยง

binary_heap
A priority queue implemented with a binary heap.
btree ๐Ÿ”’
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.
retain ๐Ÿ”’
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

Traitsยง

SpecExtend ๐Ÿ”’๐Ÿ‘ป
An intermediate trait for specialization of Extend.