alloc::collections - Rust
Description: API documentation for the Rust `collections` mod in crate `alloc`.
Keywords: rust, rustlang, rust-lang, collections

# 1.0.0[−][src]Module alloc::collections

Collection types.

## Re-exports

`pub use self::binary_heap::BinaryHeap;`
`pub use self::btree_map::BTreeMap;`
`pub use self::btree_set::BTreeSet;`
`pub use self::linked_list::LinkedList;`
`pub use self::vec_deque::VecDeque;`

## Modules

binary_heap | A priority queue implemented with a binary heap.
btree_map | A map based on a B-Tree.
btree_set | A set based on a B-Tree.
linked_list | A doubly-linked list with owned nodes.
vec_deque | A double-ended queue implemented with a growable ring buffer.

## Enums

CollectionAllocErr | [ Experimental ] Augments `AllocErr` with a CapacityOverflow variant.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)