Struct syntax_pos::MultiByteChar [−][src]
Identifies an offset of a multi-byte character in a FileMap
Fields
pos: BytePos
The absolute offset of the character in the CodeMap
bytes: u8
The number of bytes, >=2
Trait Implementations
impl Copy for MultiByteChar
[src]
impl Copy for MultiByteChar
impl Clone for MultiByteChar
[src]
impl Clone for MultiByteChar
fn clone(&self) -> MultiByteChar
[src]
fn clone(&self) -> MultiByteChar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Encodable for MultiByteChar
[src]
impl Encodable for MultiByteChar
impl Decodable for MultiByteChar
[src]
impl Decodable for MultiByteChar
impl Eq for MultiByteChar
[src]
impl Eq for MultiByteChar
impl PartialEq for MultiByteChar
[src]
impl PartialEq for MultiByteChar
fn eq(&self, other: &MultiByteChar) -> bool
[src]
fn eq(&self, other: &MultiByteChar) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MultiByteChar) -> bool
[src]
fn ne(&self, other: &MultiByteChar) -> bool
This method tests for !=
.
impl Debug for MultiByteChar
[src]
impl Debug for MultiByteChar
Auto Trait Implementations
impl Send for MultiByteChar
impl Send for MultiByteChar
impl Sync for MultiByteChar
impl Sync for MultiByteChar