Struct syntax::codemap::CharPosExperimental
[-]
[+]
[src]
pub struct CharPos(pub uint);
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.