pub struct ArchLayer {
pub level: u8,
pub name: String,
pub description: String,
pub nodes: Vec<NodeId>,
pub node_confidence: Vec<f32>,
pub avg_pagerank: f32,
pub avg_out_degree: f32,
}Expand description
A single detected architectural layer in the dependency hierarchy.
Fields§
§level: u8Zero-based level index (0 = highest/entry point, N = lowest/foundation).
name: StringHuman-readable layer name derived from the naming strategy.
description: StringShort description of the layer’s role.
nodes: Vec<NodeId>Node IDs assigned to this layer.
node_confidence: Vec<f32>Per-node confidence scores in [0.0, 1.0] (parallel to nodes).
avg_pagerank: f32Mean PageRank across all nodes in this layer.
avg_out_degree: f32Mean out-degree across all nodes in this layer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArchLayer
impl RefUnwindSafe for ArchLayer
impl Send for ArchLayer
impl Sync for ArchLayer
impl Unpin for ArchLayer
impl UnsafeUnpin for ArchLayer
impl UnwindSafe for ArchLayer
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