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>;
// Required method
fn edge_references(self) -> Self::EdgeReferences;
}
Expand description
Access to the sequence of the graph’s edges
Required Associated Types§
type EdgeRef: EdgeRef<NodeId = Self::NodeId, EdgeId = Self::EdgeId, Weight = Self::EdgeWeight>
type EdgeReferences: Iterator<Item = Self::EdgeRef>
Required Methods§
fn edge_references(self) -> Self::EdgeReferences
Object Safety§
This trait is not object safe.