Enum rustc_save_analysis::NonNarrowChar [−][src]
Expand description
Identifies an offset of a non-narrow character in a SourceFile.
Variants
ZeroWidth(BytePos)
Tuple Fields
0: BytePosRepresents a zero-width character.
Wide(BytePos)
Tuple Fields
0: BytePosRepresents a wide (full-width) character.
Tab(BytePos)
Tuple Fields
0: BytePosRepresents a tab character, represented visually with a width of 4 characters.
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