Expand description
Rc<RefCell<T>> graph reification and reconstruction.
Modules§
- arc
- Arc-pointer graph reification, parallel to the
Rc<RefCell<T>>API.
Structs§
- NodeId
- A stable node identifier derived from pointer identity.
- Reified
Graph - An adjacency-list representation of a pointer graph.
Functions§
- collect_
nodes - Collect all reachable nodes from
root, detecting shared pointers. - node_
id_ of - Extract a
NodeIdfrom anRc<RefCell<T>>using pointer identity. - reflect_
graph - Reconstruct an
Rc<RefCell<T>>graph from aReifiedGraph. - reify_
graph - Reify an
Rc<RefCell<T>>graph into aReifiedGraph.