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

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

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