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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Implementors§