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

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

A map based on a B-Tree.

## Structs

BTreeMap | A map based on a B-Tree.
IntoIter | An owning iterator over the entries of a `BTreeMap`.
Iter | An iterator over the entries of a `BTreeMap`.
IterMut | A mutable iterator over the entries of a `BTreeMap`.
Keys | An iterator over the keys of a `BTreeMap`.
OccupiedEntry | A view into an occupied entry in a `BTreeMap`. It is part of the `Entry` enum.
Range | An iterator over a sub-range of entries in a `BTreeMap`.
RangeMut | A mutable iterator over a sub-range of entries in a `BTreeMap`.
VacantEntry | A view into a vacant entry in a `BTreeMap`. It is part of the `Entry` enum.
Values | An iterator over the values of a `BTreeMap`.
ValuesMut | A mutable iterator over the values of a `BTreeMap`.

## Enums

Entry | A view into a single entry in a map, which may either be vacant or occupied.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand 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`)