Struct syntax_pos::MultiByteChar[][src]

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

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


The absolute offset of the character in the CodeMap

The number of bytes, >=2

Trait Implementations

impl Copy for MultiByteChar

impl Clone for MultiByteChar

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for MultiByteChar

impl Decodable for MultiByteChar

impl Eq for MultiByteChar

impl PartialEq for MultiByteChar

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations