# Struct collections::binary_heap::IntoIter 1.0.0 [−] [src]

    pub struct IntoIter<T> { /* fields omitted */ }

An owning iterator over the elements of a `BinaryHeap`.

This `struct` is created by the `into_iter` method on `BinaryHeap` (provided by the `IntoIterator` trait). See its documentation for more.

## Trait Implementations

### `impl<T> Iterator for IntoIter<T>`
[src]

#### `type Item = T`

#### `fn next(&mut self) -> Option<T>`

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

### `impl<T> Clone for IntoIter<T> where
T: Clone,`
[src]

#### `fn clone(&self) -> IntoIter<T>`

### `impl<T> ExactSizeIterator for IntoIter<T>`
[src]

#### `fn is_empty(&self) -> bool`

### `impl<T> FusedIterator for IntoIter<T>`
[src]

### `impl<T> DoubleEndedIterator for IntoIter<T>`
[src]

#### `fn next_back(&mut self) -> Option<T>`

### `impl<T> Debug for IntoIter<T> where
T: Debug,`
1.17.0
[src]

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

Formats the value using the given formatter.

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