Module collections

Source
Expand description

Collection types.

Re-exports§

pub use btree_map::btreemap;
pub use btree_set::btreeset;
pub use hash_map::hashmap;
pub use hash_map::HashMap;
pub use hash_map::new as hash_map_new;
pub use hash_map::with_capacity as hash_map_with_capacity;
pub use hash_set::hashset;
pub use hash_set::HashSet;
pub use hash_set::new as hash_set_new;
pub use hash_set::with_capacity as hash_set_with_capacity;
pub use index_map::indexmap;
pub use index_map::indexmap;
pub use index_map::IndexMap;
pub use index_map::new as index_map_new;
pub use index_map::with_capacity as index_map_with_capacity;
pub use index_set::indexset;
pub use index_set::IndexSet;
pub use index_set::new as index_set_new;
pub use index_set::with_capacity as index_set_with_capacity;
pub use non_iter_map::NonIterMap;
pub use index_map::indexmap;

Modules§

btree_map
btree_set
hash_map
hash_set
index_map
The methods and macros provided directly in this index_map module (new, with_capacity) work in both std and no-std modes - unlike the corresponding methods on IndexMap itself.
index_set
The methods and macros provided directly in this index_set module (new, with_capacity) work in both std and no-std modes - unlike the corresponding methods on IndexSet itself.
non_iter_map

Structs§

BTreeMap
An ordered map based on a B-Tree.
BTreeSet
An ordered set based on a B-Tree.
LinkedList
A doubly-linked list with owned nodes.
VecDeque
A double-ended queue implemented with a growable ring buffer.