Struct ra_ap_test_utils::Fixture[][src]

pub struct Fixture {
    pub path: String,
    pub text: String,
    pub krate: Option<String>,
    pub deps: Vec<String>,
    pub cfg_atoms: Vec<String>,
    pub cfg_key_values: Vec<(String, String)>,
    pub edition: Option<String>,
    pub env: FxHashMap<String, String>,
    pub introduce_new_source_root: bool,
}

Fields

path: Stringtext: Stringkrate: Option<String>deps: Vec<String>cfg_atoms: Vec<String>cfg_key_values: Vec<(String, String)>edition: Option<String>env: FxHashMap<String, String>introduce_new_source_root: bool

Implementations

Parses text which looks like this:

//- some meta
line 1
line 2
//- other meta

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.