pub enum RemapScheme {
Compiler,
NonCompiler,
}
Expand description
When rust.rust_remap_debuginfo
is requested, the compiler needs to know how to
opportunistically unremap compiler vs non-compiler sources. We use two schemes,
RemapScheme::Compiler
and RemapScheme::NonCompiler
.
Variants§
Compiler
The RemapScheme::Compiler
scheme will remap to /rustc-dev/{hash}
.
NonCompiler
The RemapScheme::NonCompiler
scheme will remap to /rustc/{hash}
.
Auto Trait Implementations§
impl Freeze for RemapScheme
impl RefUnwindSafe for RemapScheme
impl Send for RemapScheme
impl Sync for RemapScheme
impl Unpin for RemapScheme
impl UnwindSafe for RemapScheme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
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: 1 byte
Size for each variant:
Compiler
: 0 bytesNonCompiler
: 0 bytes