Trait base_db::FileLoader[][src]

pub trait FileLoader {
    fn file_text(&self, file_id: FileId) -> Arc<String>;
fn resolve_path(&self, path: AnchoredPath<'_>) -> Option<FileId>;
fn relevant_crates(&self, file_id: FileId) -> Arc<FxHashSet<CrateId>>; }

Required methods

Text of the file.

Implementors