pub trait EdgeReference<'graph, Graph>: Debugwhere
Graph: Graph,{
// Required methods
fn id(&self) -> Graph::EdgeId;
fn tail(&self) -> Graph::VertexId;
fn head(&self) -> Graph::VertexId;
fn weight(&self) -> &Graph::Edge;
fn project<'reference, T: Project<'reference, <Graph as Graph>::Edge>>(
&'reference self,
) -> Option<T>;
}
Expand description
A reference to an edge in a graph.
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.