pub struct ClusterComponent {
pub name: String,
pub dirs: Vec<String>,
pub boundary_kind: String,
pub layer: String,
pub files: Vec<String>,
pub member_regions: Vec<usize>,
}Expand description
One clustered component: the merge result over a set of atomic regions.
Fields§
§name: String§dirs: Vec<String>Union of the member regions’ path prefixes (sorted, deduped).
boundary_kind: StringHighest-authority boundary kind among the members.
layer: StringLAYER_* constant: code_region for a single bare dir region,
component for anything with evidence (authoritative boundary or a
multi-region merge).
files: Vec<String>File entity ids owned by the cluster (sorted).
member_regions: Vec<usize>Member region indices (sorted).
Trait Implementations§
Source§impl Clone for ClusterComponent
impl Clone for ClusterComponent
Auto Trait Implementations§
impl Freeze for ClusterComponent
impl RefUnwindSafe for ClusterComponent
impl Send for ClusterComponent
impl Sync for ClusterComponent
impl Unpin for ClusterComponent
impl UnsafeUnpin for ClusterComponent
impl UnwindSafe for ClusterComponent
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