# Struct collections::str::MatchIndices 1.5.0 [−] [src]

    pub struct MatchIndices<'a, P>(_)
     where
        P: Pattern<'a>;

Created with the method `match_indices`.

## Trait Implementations

### `impl<'a, P> Debug for MatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Debug,`
[src]

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

Formats the value using the given formatter.

### `impl<'a, P> Clone for MatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: Clone,`
[src]

#### `fn clone(&self) -> MatchIndices<'a, P>`
[src]

### `impl<'a, P> FusedIterator for MatchIndices<'a, P> where
P: Pattern<'a>,`
[src]

### `impl<'a, P> Iterator for MatchIndices<'a, P> where
P: Pattern<'a>,`
[src]

#### `type Item = (usize, &'a str)`

#### `fn next(&mut self) -> Option<(usize, &'a str)>`
[src]

### `impl<'a, P> DoubleEndedIterator for MatchIndices<'a, P> where
P: Pattern<'a>,
<P as Pattern<'a>>::Searcher: DoubleEndedSearcher<'a>,`
[src]

#### `fn next_back(&mut self) -> Option<(usize, &'a str)>`
[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`)