pub trait VertexReference<'graph, Graph>: Debugwhere
Graph: Graph,{
// Required methods
fn id(&self) -> Graph::VertexId;
fn weight(&self) -> &Graph::Vertex;
fn project<'reference, T: Project<'reference, <Graph as Graph>::Vertex>>(
&'reference self,
) -> Option<T>;
}
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.