Struct syntex_syntax::codemap::CharPos
[−]
[src]
pub struct CharPos(pub usize);
A character offset. Because of multibyte utf8 characters, a byte offset is not equivalent to a character offset. The CodeMap will convert BytePos values to CharPos values as necessary.