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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.