petgraph::visit

Trait IntoNodeIdentifiers

source
pub trait IntoNodeIdentifiers: GraphRef {
    type NodeIdentifiers: Iterator<Item = Self::NodeId>;

    // Required method
    fn node_identifiers(self) -> Self::NodeIdentifiers;
}
Expand description

Access to the sequence of the graph’s NodeIds.

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, G> IntoNodeIdentifiers for &'a G

Implementors§