Lyricdev
GitHub

struct CharIndicesIter

pub struct CharIndicesIter :: [Iterator]

Conforms to Iterator.

Iterates over a text's characters with the byte index each begins at.

These are the indices s[i] and s[a..b] take.

Methods

pub mut fn next(): ?(int, char)