Trait petgraph::visit::IntoNodeIdentifiers
[−]
[src]
pub trait IntoNodeIdentifiers: GraphRef { type NodeIdentifiers: Iterator<Item=Self::NodeId>; fn node_identifiers(self) -> Self::NodeIdentifiers; fn node_count(&self) -> usize; }
Access to the sequence of the graph’s NodeId
s.
Associated Types
type NodeIdentifiers: Iterator<Item=Self::NodeId>
Required Methods
fn node_identifiers(self) -> Self::NodeIdentifiers
fn node_count(&self) -> usize
Implementors
impl<G> IntoNodeIdentifiers for Reversed<G> where G: IntoNodeIdentifiers
impl<'a, G> IntoNodeIdentifiers for &'a G where G: IntoNodeIdentifiers
impl<'a, N, E: 'a, Ty, Ix> IntoNodeIdentifiers for &'a Graph<N, E, Ty, Ix> where Ty: EdgeType, Ix: IndexType