[][src]Struct graphrepresentations::adjacencyarray::AdjacencyArray

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

A graph represented as adjacency array.

Trait Implementations

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

type NodeIdIterator = AdjacencyArrayNodeIdIterator

An iterator over all node ids of a graph.

type EdgeIdIterator = AdjacencyArrayEdgeIdIterator

An iterator over all edge ids of a graph.

impl<'a, N, E> ForwardNavigableGraph<'a, N, E> for AdjacencyArray<N, E>[src]

type OutEdgeIterator = Map<Range<IdType>, fn(_: IdType) -> EdgeId>

An iterator over the out-edges of a node.

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]

Auto Trait Implementations

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

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

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

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

impl<N, E> RefUnwindSafe for AdjacencyArray<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]