pub trait ToRing<B>: DynamicArity<Dynamic = usize> + Sized where
B: Reborrow,
B::Target: AsStorage<Arc<<B as Parametric>::Data>> + Consistent + Parametric, {
fn into_ring(self) -> Ring<B>;
fn ring(&self) -> Ring<&B::Target>;
}
sourceimpl<B, M, G> ToRing<B> for FaceView<B> where
B: Reborrow<Target = M>,
M: AsStorage<Arc<G>> + AsStorage<Face<G>> + Consistent + Parametric<Data = G>,
G: GraphData,
sourceimpl<B, M, G> ToRing<B> for Ring<B> where
B: Reborrow<Target = M>,
M: AsStorage<Arc<G>> + Consistent + Parametric<Data = G>,
G: GraphData,