fn non_terminal_leaves<G>(
graph: G,
terminals: &[G::NodeId],
) -> HashSet<G::NodeId>where
G: GraphBase + IntoNodeReferences + IntoNodeIdentifiers + IntoNeighbors,
G::NodeId: Hash + Eq + Debug,
G::NodeRef: Eq + Hash,fn non_terminal_leaves<G>(
graph: G,
terminals: &[G::NodeId],
) -> HashSet<G::NodeId>where
G: GraphBase + IntoNodeReferences + IntoNodeIdentifiers + IntoNeighbors,
G::NodeId: Hash + Eq + Debug,
G::NodeRef: Eq + Hash,