A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/struct.NormalizedPos.html below:

NormalizedPos in rustc_span - Rust

Struct NormalizedPosSource
pub struct NormalizedPos {
    pub pos: RelativeBytePos,
    pub diff: u32,
}
Expand description

Identifies an offset of a character that was normalized away from SourceFile.

The relative offset of the character in the SourceFile.

The difference between original and normalized string at position.

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4