Trait petgraph::visit::IntoEdgeReferences
source · [−]pub trait IntoEdgeReferences: Data + GraphRef {
type EdgeRef: EdgeRef<NodeId = Self::NodeId, EdgeId = Self::EdgeId, Weight = Self::EdgeWeight>;
type EdgeReferences: Iterator<Item = Self::EdgeRef>;
fn edge_references(self) -> Self::EdgeReferences;
}
Expand description
Access to the sequence of the graph’s edges
Required Associated Types
source
type EdgeRef: EdgeRef<NodeId = Self::NodeId, EdgeId = Self::EdgeId, Weight = Self::EdgeWeight>
source
type EdgeReferences: Iterator<Item = Self::EdgeRef>
Required Methods
source