collections::btree_map::IterMut - Rust
Description: API documentation for the Rust `IterMut` struct in crate `collections`.
Keywords: rust, rustlang, rust-lang, IterMut

# Struct collections::btree_map::IterMut 1.0.0 [−] [src]

    pub struct IterMut<'a, K, V> where
        K: 'a,
        V: 'a,  { /* fields omitted */ }

A mutable iterator over the entries of a `BTreeMap`.

This `struct` is created by the `iter_mut` method on `BTreeMap`. See its documentation for more.

## Trait Implementations

### `impl<'a, K, V> Iterator for IterMut<'a, K, V> where
K: 'a,
V: 'a,`
[src]

#### `type Item = (&'a K, &'a mut V)`

#### `fn next(&mut self) -> Option<(&'a K, &'a mut V)>`

#### `fn size_hint(&self) -> (usize, Option<usize>)`

### `impl<'a, K, V> Debug for IterMut<'a, K, V> where
K: 'a + Debug,
V: 'a + Debug,`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>`

Formats the value using the given formatter.

### `impl<'a, K, V> ExactSizeIterator for IterMut<'a, K, V> where
K: 'a,
V: 'a,`
[src]

#### `fn len(&self) -> usize`

### `impl<'a, K, V> DoubleEndedIterator for IterMut<'a, K, V> where
K: 'a,
V: 'a,`
[src]

#### `fn next_back(&mut self) -> Option<(&'a K, &'a mut V)>`

### `impl<'a, K, V> FusedIterator for IterMut<'a, K, V>`
[src]

# 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`)