pub trait ParamDerefMut {
type Target;
type Output: DerefMut<Target = Self::Target>;
fn build(self) -> Self::Output;
}
impl<T> ParamDerefMut for Owned<T> type Target = T; type Output = Self;
impl<'a, G, T> ParamDerefMut for NewVertexProp<'a, G, T> where
G: 'a + WithVertexProp<T>,
T: Clone, type Target = DefaultVertexPropMut<G, T>; type Output = Owned<DefaultVertexPropMut<G, T>>;
impl<'a, G: 'a + WithUnionFind> ParamDerefMut for NewUnionFind<'a, G> type Target = UnionFind<G>; type Output = Owned<UnionFind<G>>;