Struct rustc_span::source_map::FilePathMapping [−][src]
Fields
mapping: Vec<(PathBuf, PathBuf)>Implementations
Applies any path prefix substitution as defined by the mapping. The return value is the remapped path and a boolean indicating whether the path was affected by the mapping.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FilePathMappingimpl Send for FilePathMappingimpl Sync for FilePathMappingimpl Unpin for FilePathMappingimpl UnwindSafe for FilePathMappingBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 24 bytes