Crate collections [−] [src]
Collection types.
See std::collections for a detailed discussion of collections in Rust.
Reexports
pub use binary_heap::BinaryHeap; |
pub use linked_list::LinkedList; |
pub use enum_set::EnumSet; |
pub use vec_deque::VecDeque; |
pub use string::String; |
pub use vec::Vec; |
pub use vec_map::VecMap; |
Primitive Types
slice |
Utilities for slice manipulation |
str |
Unicode string manipulation (the |
Modules
binary_heap |
A priority queue implemented with a binary heap. |
borrow |
A module for working with borrowed data. |
boxed |
A pointer type for heap allocation. |
btree_map | |
btree_set | |
fmt |
Utilities for formatting and printing strings |
linked_list |
A doubly-linked list with owned nodes. |
slice |
Utilities for slice manipulation |
str |
Unicode string manipulation (the |
string |
An owned, growable string that enforces that its contents are valid UTF-8. |
vec |
A growable list type with heap-allocated contents, written |
vec_deque |
VecDeque is a double-ended queue, which is implemented with the help of a growing ring buffer. |
bit_set | [Unstable] |
bit_vec | [Unstable] |
enum_set |
[Unstable] A structure for holding a set of enum variants. |
range |
[Unstable] Range syntax. |
vec_map |
[Unstable] A simple map based on a vector for small integer keys. Space requirements are O(highest integer key). |
Macros
format! |
Use the syntax described in |
vec! |
Creates a |
Structs
BTreeMap |
A map based on a B-Tree. |
BTreeSet |
A set based on a B-Tree. |
BitSet |
[Unstable] An implementation of a set using a bit vector as an underlying representation for holding unsigned numerical elements. |
BitVec |
[Unstable] The bitvector type. |
Enums
Bound |
[Unstable] An endpoint of a range of keys. |