pub trait DwarfDb: Database {
// Required method
fn get_source_map(&self) -> &[(PathBuf, PathBuf)];
// Provided method
fn remap_path(&self, path: &Path) -> PathBuf { ... }
}Required Methods§
Sourcefn get_source_map(&self) -> &[(PathBuf, PathBuf)]
fn get_source_map(&self) -> &[(PathBuf, PathBuf)]
Get the source map for path remapping
Provided Methods§
Sourcefn remap_path(&self, path: &Path) -> PathBuf
fn remap_path(&self, path: &Path) -> PathBuf
Get source path remapping