[][src]Struct petgraph::algo::MinSpanningTree

pub struct MinSpanningTree<G> where
    G: Data + IntoNodeReferences
{ /* fields omitted */ }

An iterator producing a minimum spanning forest of a graph.

Trait Implementations

impl<G> Iterator for MinSpanningTree<G> where
    G: IntoNodeReferences + NodeIndexable,
    G::NodeWeight: Clone,
    G::EdgeWeight: PartialOrd
[src]

type Item = Element<G::NodeWeight, G::EdgeWeight>

The type of the elements being iterated over.

Auto Trait Implementations

impl<G> RefUnwindSafe for MinSpanningTree<G> where
    G: RefUnwindSafe,
    <G as Data>::EdgeWeight: RefUnwindSafe,
    <G as GraphBase>::NodeId: RefUnwindSafe,
    <G as IntoNodeReferences>::NodeReferences: RefUnwindSafe

impl<G> Send for MinSpanningTree<G> where
    G: Send,
    <G as Data>::EdgeWeight: Send,
    <G as GraphBase>::NodeId: Send,
    <G as IntoNodeReferences>::NodeReferences: Send

impl<G> Sync for MinSpanningTree<G> where
    G: Sync,
    <G as Data>::EdgeWeight: Sync,
    <G as GraphBase>::NodeId: Sync,
    <G as IntoNodeReferences>::NodeReferences: Sync

impl<G> Unpin for MinSpanningTree<G> where
    G: Unpin,
    <G as Data>::EdgeWeight: Unpin,
    <G as GraphBase>::NodeId: Unpin,
    <G as IntoNodeReferences>::NodeReferences: Unpin

impl<G> UnwindSafe for MinSpanningTree<G> where
    G: UnwindSafe,
    <G as Data>::EdgeWeight: UnwindSafe,
    <G as GraphBase>::NodeId: UnwindSafe,
    <G as IntoNodeReferences>::NodeReferences: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<N, E, I> ElementIterator<N, E> for I where
    I: Iterator<Item = Element<N, E>> + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.