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

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

External iterator for a string's characters and their byte offsets. Use with the std::iter module.

Trait Implementations

impl<'a> Iterator for CharIndices<'a>

type Item = (usize, char)

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

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

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

impl<'a> DoubleEndedIterator for CharIndices<'a>

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

Derived Implementations

impl<'a> Clone for CharIndices<'a>

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

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