pub struct CappedEdges {
pub node_to_idx: FxHashMap<FragmentId, u32>,
pub idx_to_node: Vec<FragmentId>,
pub edges: Vec<CompactEdge>,
pub category_entries: Vec<(u32, u32, EdgeCategory)>,
pub cap_stats: EdgeCapStats,
}Expand description
Output of the two-pass edge construction: the final damped, deduped, per-source-capped edge set plus the full pre-cap category table and cap stats derived from pass-1 counters.
Fields§
§node_to_idx: FxHashMap<FragmentId, u32>§idx_to_node: Vec<FragmentId>§edges: Vec<CompactEdge>§category_entries: Vec<(u32, u32, EdgeCategory)>§cap_stats: EdgeCapStatsAuto Trait Implementations§
impl Freeze for CappedEdges
impl RefUnwindSafe for CappedEdges
impl Send for CappedEdges
impl Sync for CappedEdges
impl Unpin for CappedEdges
impl UnsafeUnpin for CappedEdges
impl UnwindSafe for CappedEdges
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