Struct rustc_metadata::cstore::ImportedFileMap[][src]

pub struct ImportedFileMap {
    pub original_start_pos: BytePos,
    pub original_end_pos: BytePos,
    pub translated_filemap: Lrc<FileMap>,
}
🔬 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?

Holds information about a syntax_pos::FileMap imported from another crate. See imported_filemaps() for more information.

Fields

🔬 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?

This FileMap's byte-offset within the codemap of its original crate

🔬 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 end of this FileMap within the codemap of its original crate

🔬 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 imported FileMap's representation within the local codemap

Auto Trait Implementations

impl !Send for ImportedFileMap

impl !Sync for ImportedFileMap