pub struct CappedEdges {
pub node_to_idx: FxHashMap<FragmentId, u32>,
pub idx_to_node: Vec<FragmentId>,
pub edges: Vec<CompactEdge>,
pub cap_stats: EdgeCapStats,
}Expand description
Output of the two-pass edge construction: the final damped, deduped,
per-source-capped edge set plus cap stats derived from pass-1 counters.
The category table is not carried here — assemble_graph derives it
from this same post-cap edges vector, which is the only way to
guarantee the exported category table and the CSR never disagree.
Fields§
§node_to_idx: FxHashMap<FragmentId, u32>§idx_to_node: Vec<FragmentId>§edges: Vec<CompactEdge>§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