pub struct Config {
pub mode: Mode,
pub base_dir: PathBuf,
pub target: Option<String>,
pub profile: Profile,
pub cargo_env: Vec<(String, String)>,
pub cargo_command: String,
pub crates_filter: Box<dyn Fn(&Path) -> bool>,
pub additional_steps: Vec<Box<dyn TestStepFactory>>,
}
Fields§
§mode: Mode
§base_dir: PathBuf
§target: Option<String>
§profile: Profile
§cargo_env: Vec<(String, String)>
§cargo_command: String
§crates_filter: Box<dyn Fn(&Path) -> bool>
§additional_steps: Vec<Box<dyn TestStepFactory>>
Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more