DiNeighIterable

Trait DiNeighIterable 

Source
pub trait DiNeighIterable<D>
where D: Digraph,
{ // Required methods fn in_neighbourhoods(&self) -> DiNeighIterator<'_, D> ; fn out_neighbourhoods(&self) -> DiNeighIterator<'_, D> ; }
Expand description

Allows construction of a DiNeighIterator.

Has a default implementation for Digraph.

Required Methods§

Source

fn in_neighbourhoods(&self) -> DiNeighIterator<'_, D>

Returns a DiNeighIterator over all in-neighbourhoods of this graph.

Source

fn out_neighbourhoods(&self) -> DiNeighIterator<'_, D>

Returns a DiNeighIterator over all out-neighbourhoods of this graph.

Implementors§

Source§

impl<D> DiNeighIterable<D> for D
where D: Digraph,