Lyricdev
GitHub

struct CharsIter

pub struct CharsIter :: [Iterator, DoubleEnded]

Conforms to Iterator, DoubleEnded, Clone.

Iterates over a string's characters, decoded from its UTF-8 bytes.

From the front by next, from the back by nextBack, the two meeting in the middle.

Methods

pub mut fn next(): ?char
pub mut fn nextBack(): ?char
fn clone(): CharsIter