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

pub trait GraphSizeRef<'a>: GraphSize<'a> {
    fn nodes_iter(&self) -> Self::NodeIt;
fn edges_iter(&self) -> Self::EdgeIt; fn nodes<'b>(&'b self) -> GraphIter<'b, Self, Self::NodeIt>

Notable traits for GraphIter<'a, G, I>

impl<'a, G, I> Iterator for GraphIter<'a, G, I> where
    I: GraphIterator<G>, 
type Item = I::Item;

    where
        Self: Sized,
        'a: 'b
, { ... }
fn edges<'b>(&'b self) -> GraphIter<'b, Self, Self::EdgeIt>

Notable traits for GraphIter<'a, G, I>

impl<'a, G, I> Iterator for GraphIter<'a, G, I> where
    I: GraphIterator<G>, 
type Item = I::Item;

    where
        Self: Sized,
        'a: 'b
, { ... } }

A reference to a basic graph.

This trait contains methods with a unrestricted lifetime for self.

Required methods

fn nodes_iter(&self) -> Self::NodeIt[src]

fn edges_iter(&self) -> Self::EdgeIt[src]

Loading content...

Provided methods

fn nodes<'b>(&'b self) -> GraphIter<'b, Self, Self::NodeIt>

Notable traits for GraphIter<'a, G, I>

impl<'a, G, I> Iterator for GraphIter<'a, G, I> where
    I: GraphIterator<G>, 
type Item = I::Item;
where
    Self: Sized,
    'a: 'b, 
[src]

fn edges<'b>(&'b self) -> GraphIter<'b, Self, Self::EdgeIt>

Notable traits for GraphIter<'a, G, I>

impl<'a, G, I> Iterator for GraphIter<'a, G, I> where
    I: GraphIterator<G>, 
type Item = I::Item;
where
    Self: Sized,
    'a: 'b, 
[src]

Loading content...

Implementations on Foreign Types

impl<'a, G> GraphSizeRef<'a> for &'a G where
    G: GraphSize<'a>, 
[src]

Loading content...

Implementors

impl<'a, G> GraphSizeRef<'a> for Network<'a, G> where
    G: Directed<'a>, 
[src]

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

Loading content...