Function mz_ore::graph::nonrecursive_dft_mut
source ยท pub fn nonrecursive_dft_mut<Graph, NodeId, AtEnter, AtExit>(
graph: &mut Graph,
root: NodeId,
at_enter: &mut AtEnter,
at_exit: &mut AtExit,
)where
NodeId: Ord + Clone,
AtEnter: FnMut(&mut Graph, &NodeId) -> Vec<NodeId>,
AtExit: FnMut(&mut Graph, &NodeId),
Expand description
Same as nonrecursive_dft
, but allows changes to be made to the graph.