Struct rs_graph::vec::NodeIndexer[][src]

pub struct NodeIndexer<'g, G>(pub G, _);

An indexer for nodes of an IndexGraphRef.

Trait Implementations

impl<'g, G: Clone> Clone for NodeIndexer<'g, G>[src]

impl<'g, G: Copy> Copy for NodeIndexer<'g, G>[src]

impl<'a, G> GraphIndexer<G> for NodeIndexer<'a, G> where
    G: IndexGraphRef<'a> + Clone
[src]

impl<'g, G, I> GraphIterator<NodeIndexer<'g, G>> for IndexerIt<I> where
    I: GraphIterator<G>, 
[src]

type Item = I::Item

impl<'a, G> Indexer for NodeIndexer<'a, G> where
    G: IndexGraphRef<'a> + Clone
[src]

type Idx = G::Node

The type of the index items.

type Iter = IndexerIt<G::NodeIt>

Auto Trait Implementations

impl<'g, G> RefUnwindSafe for NodeIndexer<'g, G> where
    G: RefUnwindSafe

impl<'g, G> Send for NodeIndexer<'g, G> where
    G: Send + Sync

impl<'g, G> Sync for NodeIndexer<'g, G> where
    G: Sync

impl<'g, G> Unpin for NodeIndexer<'g, G> where
    G: Unpin

impl<'g, G> UnwindSafe for NodeIndexer<'g, G> where
    G: RefUnwindSafe + 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<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.