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§
Sourcefn neighbourhoods(&self) -> NeighIterator<'_, G> ⓘ
fn neighbourhoods(&self) -> NeighIterator<'_, G> ⓘ
Returns a NeighIterator for the graph.