pub trait Kruskal: WithUnionFind {
fn kruskal_mst<T, W>(
&self,
weight: W
) -> KruskalAlg<&Self, Vec<Self::Edge, Global>, AcceptAll, NewUnionFind<'_, Self>>
where
W: EdgePropGet<Self, T>,
T: Ord,
{ ... }
fn kruskal(
&self
) -> KruskalAlg<&Self, AllEdges<'_, Self>, AcceptAll, NewUnionFind<'_, Self>> { ... }
}