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
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.