Trait petgraph::visit::IntoNodeReferences

source ·
pub trait IntoNodeReferences: Data + IntoNodeIdentifiers {
    type NodeRef: NodeRef<NodeId = Self::NodeId, Weight = Self::NodeWeight>;
    type NodeReferences: Iterator<Item = Self::NodeRef>;

    // Required method
    fn node_references(self) -> Self::NodeReferences;
}
Expand description

Access to the sequence of the graph’s nodes

Required Associated Types§

source

type NodeRef: NodeRef<NodeId = Self::NodeId, Weight = Self::NodeWeight>

source

type NodeReferences: Iterator<Item = Self::NodeRef>

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

Implementors§