pub struct MutationPlanInputs<'a> {
pub root: &'a Path,
pub graph: &'a RetainedModuleGraph,
pub modules: &'a [ModuleInfo],
pub results: &'a AnalysisResults,
pub framework_config_exports: Option<&'a FrameworkConfigExports>,
pub setup_files: &'a [PathBuf],
}Expand description
The analysis facts that a plan reads.
Fields§
§root: &'a PathThe project root.
graph: &'a RetainedModuleGraphThe module graph of the analysis.
modules: &'a [ModuleInfo]The parsed modules, with complexity.
results: &'a AnalysisResultsThe dead-code results of the analysis.
framework_config_exports: Option<&'a FrameworkConfigExports>The framework config exports. None when the caller has no plugin
facts. The plan then prunes no framework-config mutants and sets
MutationPlan::framework_config_checked to false.
setup_files: &'a [PathBuf]The setup files of the test runner config, absolute or relative to
the root, with or without an extension. They fill
MutationPlan::support_files, with the runner config modules at the
root.
Trait Implementations§
Source§impl<'a> Clone for MutationPlanInputs<'a>
impl<'a> Clone for MutationPlanInputs<'a>
impl<'a> Copy for MutationPlanInputs<'a>
Auto Trait Implementations§
impl<'a> Freeze for MutationPlanInputs<'a>
impl<'a> RefUnwindSafe for MutationPlanInputs<'a>
impl<'a> Send for MutationPlanInputs<'a>
impl<'a> Sync for MutationPlanInputs<'a>
impl<'a> Unpin for MutationPlanInputs<'a>
impl<'a> UnsafeUnpin for MutationPlanInputs<'a>
impl<'a> UnwindSafe for MutationPlanInputs<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more