logo
pub trait EdgeMidpoint: GraphData where
    Self::Vertex: AsPosition
{ fn midpoint<B, T>(edge: T) -> Result<VertexPosition<Self>, GraphError>
    where
        B: Reborrow,
        B::Target: AsStorage<Arc<Self>> + AsStorage<Edge<Self>> + AsStorage<Vertex<Self>> + Consistent + Parametric<Data = Self>,
        T: ToArc<B>
; }

Required Methods

Implementors