[][src]Trait rs_graph::vec::Indexer

pub trait Indexer<G, I> {
    fn index(g: &G, item: I) -> usize;
}

A mapper of graph items to indices.

Required methods

fn index(g: &G, item: I) -> usize

Loading content...

Implementors

impl<'a, G> Indexer<G, <G as GraphType<'a>>::Edge> for BiEdgeIndexer where
    G: IndexNetwork<'a>, 
[src]

impl<'a, G> Indexer<G, <G as GraphType<'a>>::Edge> for EdgeIndexer where
    G: IndexGraph<'a>, 
[src]

impl<'a, G> Indexer<G, <G as GraphType<'a>>::Node> for NodeIndexer where
    G: IndexGraph<'a>, 
[src]

Loading content...