pub struct Setup<'a> {
pub wt_root: &'a Path,
pub project: &'a Path,
pub tmp: &'a Path,
pub runner: &'a Runner,
pub policy: &'a Policy,
pub acceptance: &'a [Vec<String>],
pub held_out: &'a [(HeldOutFile, String)],
pub mutation: Option<&'a Config>,
pub patch: &'a str,
pub config: &'a StrengthConfig,
pub keep: &'a Path,
pub rulings: &'a [Ruling],
}Expand description
What measuring needs.
Fields§
§wt_root: &'a PathThe task’s worktree.
project: &'a PathThe project inside it.
tmp: &'a PathScratch for checkpoints.
runner: &'a RunnerSandboxed commands.
policy: &'a PolicyThe judge’s inputs, checked unchanged afterwards.
acceptance: &'a [Vec<String>]The visible acceptance commands (the first is the original set’s; mutants run with it).
held_out: &'a [(HeldOutFile, String)]The held-out files, verified, with their contents.
mutation: Option<&'a Config>[mutation], when configured.
patch: &'a strThe attempt’s change.
config: &'a StrengthConfig[acceptance] strength settings.
keep: &'a PathWhere variants and findings are kept.
rulings: &'a [Ruling]Rulings a person made on this task.
Auto Trait Implementations§
impl<'a> Freeze for Setup<'a>
impl<'a> RefUnwindSafe for Setup<'a>
impl<'a> Send for Setup<'a>
impl<'a> Sync for Setup<'a>
impl<'a> Unpin for Setup<'a>
impl<'a> UnsafeUnpin for Setup<'a>
impl<'a> UnwindSafe for Setup<'a>
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