pub struct ImpactAnalysis {
pub target: PathBuf,
pub affected_by_depth: Vec<Vec<PathBuf>>,
pub total_affected: usize,
pub max_chain_length: usize,
pub tree: ImpactNode,
}Expand description
Result of impact analysis for a file
Fields§
§target: PathBufThe target file being analyzed
affected_by_depth: Vec<Vec<PathBuf>>Files affected, organized by dependency depth from target affected_by_depth[0] = direct dependents (depth 1) affected_by_depth[1] = dependents of dependents (depth 2), etc.
total_affected: usizeTotal unique files affected
max_chain_length: usizeMaximum chain length (depth) from target to farthest dependent
tree: ImpactNodeDependency tree for visualization
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImpactAnalysis
impl RefUnwindSafe for ImpactAnalysis
impl Send for ImpactAnalysis
impl Sync for ImpactAnalysis
impl Unpin for ImpactAnalysis
impl UnwindSafe for ImpactAnalysis
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