Function protobuf_support::toposort::toposort
source · pub fn toposort<K, I>(
input: impl IntoIterator<Item = K>,
deps: impl Fn(&K) -> I
) -> Result<Vec<K>, TopoSortCycle>
pub fn toposort<K, I>(
input: impl IntoIterator<Item = K>,
deps: impl Fn(&K) -> I
) -> Result<Vec<K>, TopoSortCycle>