Enum rustc_save_analysis::source_map::RealFileName [−][src]
pub enum RealFileName {
LocalPath(PathBuf),
Remapped {
local_path: Option<PathBuf>,
virtual_name: PathBuf,
},
}Variants
LocalPath(PathBuf)
Tuple Fields
0: PathBufRemapped
Fields
local_path: Option<PathBuf>local_path is the (host-dependent) local path to the file. This is
None if the file was imported from another crate
virtual_name: PathBufvirtual_name is the stable path rustc will store internally within
build artifacts.
For remapped paths (namely paths into libstd that have been mapped
to the appropriate spot on the local host’s file system, and local file
system paths that have been remapped with FilePathMapping),
Auto Trait Implementations
impl RefUnwindSafe for RealFileName
impl Send for RealFileName
impl Sync for RealFileName
impl Unpin for RealFileName
impl UnwindSafe for RealFileName
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: 56 bytes
Size for each variant:
LocalPath: 24 bytesRemapped: 48 bytes