[][src]Trait outils::types::Vertices

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

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

Required methods

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

Returns a boxed iterator over the indices or the vertices held by self.

Loading content...

Implementors

Loading content...