Struct syntax::codemap::MultiByteCharExperimental [-]  [+] [src]

pub struct MultiByteChar {
    pub pos: BytePos,
    pub bytes: uint,
}

Identifies an offset of a multi-byte character in a FileMap

Fields

pos

The absolute offset of the character in the CodeMap

bytes

The number of bytes, >=2

Trait Implementations

Derived Implementations

impl Copy for MultiByteChar