[][src]Trait outils::types::Edges

pub trait Edges<'slf, Ix = DefaultIndexType> where
    Ix: IndexType
{ fn edges(&'slf self) -> Box<dyn Iterator<Item = Edge<Ix>> + 'slf>; }

Graphs implementing this trait are able to return an iterator over the indices of their edges.

Required methods

fn edges(&'slf self) -> Box<dyn Iterator<Item = Edge<Ix>> + 'slf>

Returns a boxed iterator over the indices or the edges held by self, along with their associated vertex indices.

Loading content...

Implementors

impl<'slf, W> Edges<'slf, usize> for DynamicGraph<W> where
    W: WeightType
[src]

Loading content...