Struct collections::str::CharRange[src]

pub struct CharRange {
    pub ch: char,
    pub next: uint,
}

Struct that contains a char and the index of the first byte of the next char in a string. This can be used as a data structure for iterating over the UTF-8 bytes of a string.

Fields

ch
next