struct FasNode {
graph_ix: NodeIndex<usize>,
out_edges: Vec<FasNodeIndex>,
in_edges: Vec<FasNodeIndex>,
out_degree: usize,
in_degree: usize,
}Expand description
Represents a node from the input graph, tracking its current delta degree
Fields§
§graph_ix: NodeIndex<usize>Node index in input graph.
out_edges: Vec<FasNodeIndex>All outward edges from this node (not removed during processing)
in_edges: Vec<FasNodeIndex>All inward edges from this node (not removed during processing)
out_degree: usizeCurrent out-degree of this node (decremented during processing as connected nodes are removed)
in_degree: usizeCurrent in-degree of this node (decremented during processing as connected nodes are removed)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FasNode
impl RefUnwindSafe for FasNode
impl Send for FasNode
impl Sync for FasNode
impl Unpin for FasNode
impl UnsafeUnpin for FasNode
impl UnwindSafe for FasNode
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