Struct syntax::codemap::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: u8
🔬 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 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)
Performs copy-assignment from source
. Read more
impl Debug for MultiByteChar
[src]
impl Debug for MultiByteChar
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for MultiByteChar
[src]
impl Copy for MultiByteChar
impl Decodable for MultiByteChar
[src]
impl Decodable for MultiByteChar
fn decode<__D>(d: &mut __D) -> Result<MultiByteChar, <__D as Decoder>::Error> where
__D: Decoder,
[src]
fn decode<__D>(d: &mut __D) -> Result<MultiByteChar, <__D as Decoder>::Error> where
__D: Decoder,
🔬 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 MultiByteChar
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Encodable for MultiByteChar
[src]
impl Encodable for MultiByteChar
fn encode<__S>(&self, s: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder,
[src]
fn encode<__S>(&self, s: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder,
🔬 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 PartialEq<MultiByteChar> for MultiByteChar
[src]
impl PartialEq<MultiByteChar> 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 !=
.
Auto Trait Implementations
impl Send for MultiByteChar
impl Send for MultiByteChar
impl Sync for MultiByteChar
impl Sync for MultiByteChar