pub struct VizBuildInput<'a> {
pub results: &'a AnalysisResults,
pub graph: &'a RetainedModuleGraph,
pub modules: Option<&'a [ModuleInfo]>,
pub files: &'a [DiscoveredFile],
pub duplication: &'a DuplicationReport,
pub workspaces: &'a [WorkspaceInfo],
pub config: &'a ResolvedConfig,
pub feature_flags: &'a [FeatureFlag],
pub include_analysis_details: bool,
}Expand description
Everything build_viz_data needs from one project analysis run.
Fields§
§results: &'a AnalysisResultsDead-code analysis results (unused files/exports, cycles, boundaries).
graph: &'a RetainedModuleGraphRetained module graph for edges, entry points, and export counts.
modules: Option<&'a [ModuleInfo]>Parsed modules with complexity data, when retained.
files: &'a [DiscoveredFile]Discovered source files, in FileId order.
duplication: &'a DuplicationReportDuplication report from the same session.
workspaces: &'a [WorkspaceInfo]Discovered monorepo workspaces.
config: &'a ResolvedConfigResolved config (project root + boundary zones).
feature_flags: &'a [FeatureFlag]Feature flag records derived from the same parsed session.
include_analysis_details: boolWhether to project the HTML-only lens detail payloads.
Auto Trait Implementations§
impl<'a> Freeze for VizBuildInput<'a>
impl<'a> RefUnwindSafe for VizBuildInput<'a>
impl<'a> Send for VizBuildInput<'a>
impl<'a> Sync for VizBuildInput<'a>
impl<'a> Unpin for VizBuildInput<'a>
impl<'a> UnsafeUnpin for VizBuildInput<'a>
impl<'a> UnwindSafe for VizBuildInput<'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> 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