pub trait GetSourceLocInfoByHash {
// Required method
fn get_source_loc_info_by_hash(
&self,
hash: HashId,
) -> Option<SourceLocInfo<'_>>;
}Expand description
Trait that can fetch for a file by it’s hash value.
Required Methods§
Sourcefn get_source_loc_info_by_hash(&self, hash: HashId) -> Option<SourceLocInfo<'_>>
fn get_source_loc_info_by_hash(&self, hash: HashId) -> Option<SourceLocInfo<'_>>
Get a source string by it’s hash value.