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

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

Provided methods

pub fn with_single_file(text: &str) -> (Self, FileId)[src]

pub fn with_files(ra_fixture: &str) -> Self[src]

pub fn with_position(ra_fixture: &str) -> (Self, FilePosition)[src]

pub fn with_range_or_offset(ra_fixture: &str) -> (Self, FileId, RangeOrOffset)[src]

pub fn test_crate(&self) -> CrateId[src]

Loading content...

Implementors

impl<DB: SourceDatabaseExt + Default + 'static> WithFixture for DB[src]

Loading content...