pub struct GroupingSet {
pub groups: Vec<StructuralGroup>,
pub stats: GroupingStats,
/* private fields */
}Expand description
The grouping result: refined groups plus statistics.
Fields§
§groups: Vec<StructuralGroup>Cohesive groups, ordered by their medoid’s key.
stats: GroupingStatsWhat grouping saw and did.
Implementations§
Source§impl GroupingSet
impl GroupingSet
Sourcepub fn severed_by_the_ceiling(&self, a: usize, b: usize) -> bool
pub fn severed_by_the_ceiling(&self, a: usize, b: usize) -> bool
Whether the component ceiling is why these two were never weighed against each other.
Two units in one component that the ceiling cut into pieces, and in different pieces, were never candidates for the same group — not because refinement judged them apart but because refinement never saw them together. A caller carrying out the relations no group expresses has to tell that apart from the ones a group declined to hold, which are a fact about the code rather than about a ceiling.
Trait Implementations§
Source§impl Clone for GroupingSet
impl Clone for GroupingSet
Source§fn clone(&self) -> GroupingSet
fn clone(&self) -> GroupingSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GroupingSet
impl Debug for GroupingSet
Source§impl PartialEq for GroupingSet
impl PartialEq for GroupingSet
impl StructuralPartialEq for GroupingSet
Auto Trait Implementations§
impl Freeze for GroupingSet
impl RefUnwindSafe for GroupingSet
impl Send for GroupingSet
impl Sync for GroupingSet
impl Unpin for GroupingSet
impl UnsafeUnpin for GroupingSet
impl UnwindSafe for GroupingSet
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