Struct rustc_ap_rustc_span::MultiByteChar [−][src]
Expand description
Identifies an offset of a multi-byte character in a SourceFile
.
Fields
pos: BytePos
The absolute offset of the character in the SourceMap
.
bytes: u8
The number of bytes, >= 2
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MultiByteChar
impl Send for MultiByteChar
impl Sync for MultiByteChar
impl Unpin for MultiByteChar
impl UnwindSafe for MultiByteChar
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V