pub struct ProjectAnalysisArtifacts {
pub dead_code: DeadCodeAnalysisArtifacts,
pub duplication: DuplicationReport,
pub changed_files: Option<FxHashSet<PathBuf>>,
pub source_fingerprints: Option<FxHashMap<PathBuf, SourceFingerprint>>,
}Expand description
Typed project analysis result with reusable session artifacts.
Fields§
§dead_code: DeadCodeAnalysisArtifactsDead-code findings with all reusable pipeline artifacts.
duplication: DuplicationReportDuplication report for the same file set.
changed_files: Option<FxHashSet<PathBuf>>Diff scope the run was limited to, when one was resolved.
source_fingerprints: Option<FxHashMap<PathBuf, SourceFingerprint>>Per-file source fingerprints for downstream cache invalidation.
Implementations§
Source§impl ProjectAnalysisArtifacts
impl ProjectAnalysisArtifacts
Sourcepub fn into_output(self) -> ProjectAnalysisOutput
pub fn into_output(self) -> ProjectAnalysisOutput
Drop retained reuse-only artifacts and return the stable project output.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProjectAnalysisArtifacts
impl RefUnwindSafe for ProjectAnalysisArtifacts
impl Send for ProjectAnalysisArtifacts
impl Sync for ProjectAnalysisArtifacts
impl Unpin for ProjectAnalysisArtifacts
impl UnsafeUnpin for ProjectAnalysisArtifacts
impl UnwindSafe for ProjectAnalysisArtifacts
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> 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