Trait ide_db::LineIndexDatabase

source ·
pub trait LineIndexDatabase:
    Database
    + HasQueryGroup<LineIndexDatabaseStorage>
    + SourceDatabase {
    // Required method
    fn line_index(&self, file_id: FileId) -> Arc<LineIndex>;
}

Required Methods§

source

fn line_index(&self, file_id: FileId) -> Arc<LineIndex>

Implementors§

source§

impl<DB> LineIndexDatabase for DB
where DB: SourceDatabase + Database + HasQueryGroup<LineIndexDatabaseStorage>,