[][src]Trait rs_graph::traits::refs::IndexGraphRef

pub trait IndexGraphRef<'a>: IndexGraph<'a> + UndirectedRef<'a> {
    fn id2node(&self, id: usize) -> Self::Node;
fn id2edge(&self, id: usize) -> Self::Edge; }

A reference to an indexed graph.

This trait contains methods with a unrestricted lifetime for self.

Required methods

fn id2node(&self, id: usize) -> Self::Node

fn id2edge(&self, id: usize) -> Self::Edge

Loading content...

Implementations on Foreign Types

impl<'a, G> IndexGraphRef<'a> for &'a G where
    G: IndexGraph<'a>, 
[src]

Loading content...

Implementors

impl<'a, G> IndexGraphRef<'a> for Network<&'a G> where
    G: Directed<'a> + IndexGraph<'a>, 
[src]

impl<'a, G> IndexGraphRef<'a> for ReverseDigraph<G> where
    G: IndexGraphRef<'a>, 
[src]

Loading content...