Trait rs_graph::traits::refs::IndexGraphRef [−][src]
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
Loading content...Implementations on Foreign Types
impl<'a, G> IndexGraphRef<'a> for &'a G where
G: IndexGraph<'a>,
[src]
impl<'a, G> IndexGraphRef<'a> for &'a G where
G: IndexGraph<'a>,
[src]Implementors
impl<'a, G> IndexGraphRef<'a> for Network<'a, G> where
G: Directed<'a> + IndexGraph<'a>,
[src]
impl<'a, G> IndexGraphRef<'a> for Network<'a, G> where
G: Directed<'a> + IndexGraph<'a>,
[src]impl<'a, G> IndexGraphRef<'a> for ReverseDigraph<'a, G> where
G: IndexGraphRef<'a>,
[src]
impl<'a, G> IndexGraphRef<'a> for ReverseDigraph<'a, G> where
G: IndexGraphRef<'a>,
[src]