[][src]Struct graphrepresentations::simplegraph::SimpleGraph

pub struct SimpleGraph<N, E> { /* fields omitted */ }

A simple graph representation that is inefficient to use, but cheap to construct.

For actual usage, the graph should be converted into a different representation.

Trait Implementations

impl<N, E> Graph<N, E> for SimpleGraph<N, E>[src]

type NodeIdIterator = SimpleGraphNodeIdIterator

An iterator over all node ids of a graph.

type EdgeIdIterator = SimpleGraphEdgeIdIterator

An iterator over all edge ids of a graph.

impl<N, E> MutableGraph<N, E> for SimpleGraph<N, E>[src]

impl<'_, N: Clone, E: Default + Clone> From<&'_ SimpleGraph<N, E>> for AdjacencyArray<N, E>[src]

impl<'_, N: Clone, E: Clone> From<&'_ AdjacencyArray<N, E>> for SimpleGraph<N, E>[src]

impl<N, E> Default for SimpleGraph<N, E>[src]

impl<N: Debug, E: Debug> Debug for SimpleGraph<N, E>[src]

Auto Trait Implementations

impl<N, E> Send for SimpleGraph<N, E> where
    E: Send,
    N: Send

impl<N, E> Unpin for SimpleGraph<N, E> where
    E: Unpin,
    N: Unpin

impl<N, E> Sync for SimpleGraph<N, E> where
    E: Sync,
    N: Sync

impl<N, E> UnwindSafe for SimpleGraph<N, E> where
    E: UnwindSafe,
    N: UnwindSafe

impl<N, E> RefUnwindSafe for SimpleGraph<N, E> where
    E: RefUnwindSafe,
    N: RefUnwindSafe

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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