Struct std::str::MatchIndicesUnstable [-] [+] [src]

pub struct MatchIndices<'a> {
    // some fields omitted
}

An iterator over the start and end indices of the matches of a substring within a larger string

Trait Implementations

impl<'a> Iterator for MatchIndices<'a>

type Item = (usize, usize)

fn next(&mut self) -> Option<(usize, usize)>

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

Derived Implementations

impl<'a> Clone for MatchIndices<'a>

fn clone(&self) -> MatchIndices<'a>

fn clone_from(&mut self, &MatchIndices<'a>)