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

pub struct ImportedFileMap {
    pub original_start_pos: BytePos,
    pub original_end_pos: BytePos,
    pub translated_filemap: Rc<FileMap>,
}
🔬 This is a nightly-only experimental API. (rustc_private)

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 FileMap's byte-offset within the codemap of its original crate

🔬 This is a nightly-only experimental API. (rustc_private)

The end of this FileMap within the codemap of its original crate

🔬 This is a nightly-only experimental API. (rustc_private)

The imported FileMap's representation within the local codemap