Trait ra_ap_base_db::fixture::WithFixture[][src]

pub trait WithFixture: Default + SourceDatabaseExt + 'static {
    fn with_single_file(text: &str) -> (Self, FileId) { ... }
fn with_many_files(ra_fixture: &str) -> (Self, Vec<FileId>) { ... }
fn with_files(ra_fixture: &str) -> Self { ... }
fn with_position(ra_fixture: &str) -> (Self, FilePosition) { ... }
fn with_range(ra_fixture: &str) -> (Self, FileRange) { ... }
fn with_range_or_offset(ra_fixture: &str) -> (Self, FileId, RangeOrOffset) { ... }
fn test_crate(&self) -> CrateId { ... } }

Provided methods

Implementors