Enum rustc_span::NonNarrowChar [−][src]
Expand description
Identifies an offset of a non-narrow character in a SourceFile.
Variants
ZeroWidth(BytePos)Represents a zero-width character.
Tuple Fields of ZeroWidth
0: BytePosWide(BytePos)Represents a wide (full-width) character.
Tuple Fields of Wide
0: BytePosTab(BytePos)Represents a tab character, represented visually with a width of 4 characters.
Tuple Fields of Tab
0: BytePosImplementations
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 NonNarrowChar
impl Send for NonNarrowChar
impl Sync for NonNarrowChar
impl Unpin for NonNarrowChar
impl UnwindSafe for NonNarrowChar
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes
Size for each variant:
ZeroWidth: 4 bytesWide: 4 bytesTab: 4 bytes