Prim

Trait Prim 

Source
pub trait Prim: Incidence {
    // Provided method
    fn prim<W, T>(
        &self,
        w: W,
    ) -> PrimAlg<&Self, W, NewVertexProp<'_, Self, Color>, NewVertexProp<'_, Self, OptionEdge<Self>>, Owned<BinaryHeap<QueueItem<T, Vertex<Self>>>>, PhantomData<T>>
       where W: EdgePropGet<Self, T>,
             T: Ord { ... }
}

Provided Methods§

Source

fn prim<W, T>( &self, w: W, ) -> PrimAlg<&Self, W, NewVertexProp<'_, Self, Color>, NewVertexProp<'_, Self, OptionEdge<Self>>, Owned<BinaryHeap<QueueItem<T, Vertex<Self>>>>, PhantomData<T>>
where W: EdgePropGet<Self, T>, T: Ord,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<G: Incidence> Prim for G