Struct syntax_pos::MultiByteChar
[−]
[src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Identifies an offset of a multi-byte character in a FileMap
Fields
pos: BytePos
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
The absolute offset of the character in the CodeMap
bytes: usize
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
The number of bytes, >=2
Trait Implementations
impl Copy for MultiByteChar[src]
impl Copy for MultiByteCharimpl Clone for MultiByteChar[src]
impl Clone for MultiByteCharfn clone(&self) -> MultiByteChar[src]
fn clone(&self) -> MultiByteCharReturns 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)Performs copy-assignment from source. Read more
impl Encodable for MultiByteChar[src]
impl Encodable for MultiByteCharfn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Decodable for MultiByteChar[src]
impl Decodable for MultiByteCharfn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<MultiByteChar, __D::Error>[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<MultiByteChar, __D::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Eq for MultiByteChar[src]
impl Eq for MultiByteCharimpl PartialEq for MultiByteChar[src]
impl PartialEq for MultiByteCharfn eq(&self, __arg_0: &MultiByteChar) -> bool[src]
fn eq(&self, __arg_0: &MultiByteChar) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MultiByteChar) -> bool[src]
fn ne(&self, __arg_0: &MultiByteChar) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for MultiByteChar
impl Send for MultiByteCharimpl Sync for MultiByteChar
impl Sync for MultiByteChar