Trait NeighIterable

Source
pub trait NeighIterable<G>
where G: Graph,
{ // Required method fn neighbourhoods(&self) -> NeighIterator<'_, G> ; }
Expand description

Allows construction of a NeighIterator.

Has a default implementation for Graph.

Required Methods§

Source

fn neighbourhoods(&self) -> NeighIterator<'_, G>

Returns a NeighIterator for the graph.

Implementors§

Source§

impl<G> NeighIterable<G> for G
where G: Graph,