Trait lang_util::located::FileIdResolver

source ·
pub trait FileIdResolver {
    // Required method
    fn resolve(&self, file_id: FileId) -> Option<&Path>;
}
Expand description

Trait for resolving file identifiers to file names

Required Methods§

source

fn resolve(&self, file_id: FileId) -> Option<&Path>

Return the path corresponding to the FileId, if known

Implementors§