crate fn dump_graphviz_scc_constraints(&self, mut w: &mut dyn Write) -> io::Result<()> {
        let mut nodes_per_scc: IndexVec<ConstraintSccIndex, _> = self.constraint_sccs
            .all_sccs()
            .map(|_| Vec::new())
            .collect();

        for region in self.definitions.indices() {
            let scc = self.constraint_sccs.scc(region);
            nodes_per_scc[scc].push(region);
        }

        dot::render(&SccConstraints { regioncx: self, nodes_per_scc }, &mut w)
    }
/// Write out the region constraint graph.
Write out the region constraint graph.
Write out the region constraint graph .
crate fn dump_graphviz_scc_constraints(&self, mut w: &mut dyn Write) -> io::Result<()> {
        let mut nodes_per_scc: IndexVec<ConstraintSccIndex, _> = self.constraint_sccs
            .all_sccs()
            .map(|_| Vec::new())
            .collect();
        for region in self.definitions.indices() {
            let scc = self.constraint_sccs.scc(region);
            nodes_per_scc[scc].push(region);
        }
        dot::render(&SccConstraints { regioncx: self, nodes_per_scc }, &mut w)
    }
crate fn dump_graphviz_scc_constraints ( & self , mut w : & mut dyn Write ) -> io :: Result < ( ) > { let mut nodes_per_scc : IndexVec < ConstraintSccIndex , _ > = self . constraint_sccs . all_sccs ( ) . map ( | _ | Vec :: new ( ) ) . collect ( ) ; for region in self . definitions . indices ( ) { let scc = self . constraint_sccs . scc ( region ) ; nodes_per_scc [ scc ] . push ( region ) ; } dot :: render ( & SccConstraints { regioncx : self , nodes_per_scc } , & mut w ) }
Write out the region constraint graph.
Write out the region constraint graph .
&self
w
&mut dyn Write