Module collection

Module collection 

Source
Expand description

Module containing all collection macros

Modules§

binary_heap
[std ::collections ::BinaryHeap] macros
btree_map
[std ::collections ::BTreeMap] macros
btree_set
[std ::collections ::BTreeSet] macros
exposed
Exposed namespace of the module.
hash_map
[std ::collections ::HashMap] macros
hash_set
[std ::collections ::HashSet] macros
linked_list
[std ::collections ::LinkedList] macros
orphan
Parented namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module ::prelude :: *.
vec_deque
[std ::collections ::VecDeque] macros
vector
Vec macros

Macros§

bmap
Creates a BTreeMap from a list of key-value pairs.
bset
Creates a BTreeSet from a list of elements.
deque
Creates a VecDeque from a list of elements.
dlist
Creates a Vec from a list of elements.
heap
Creates a BinaryHeap from a list of elements.
hmap
Creates a HashMap from a list of key-value pairs.
hset
Creates a HashSet from a list of elements.
llist
Creates a LinkedList from a llist of elements.

Structs§

BTreeMap
An ordered map based on a B-Tree.
BTreeSet
An ordered set based on a B-Tree.
BinaryHeap
A priority queue implemented with a binary heap.
Bmap
An ordered map based on a B-Tree.
Bset
An ordered set based on a B-Tree.
Deque
A double-ended queue implemented with a growable ring buffer.
Dlist
A contiguous growable array type, written as Vec<T>, short for ‘vector’.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HashSet
A hash set implemented as a HashMap where the value is ().
Hmap
A hash map implemented with quadratic probing and SIMD lookup.
Hset
A hash set implemented as a HashMap where the value is ().
LinkedList
A doubly-linked list with owned nodes.
Llist
A doubly-linked list with owned nodes.
Map
A hash map implemented with quadratic probing and SIMD lookup.
Set
A hash set implemented as a HashMap where the value is ().
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.
VecDeque
A double-ended queue implemented with a growable ring buffer.