pub trait WithVertexIndexProp: WithVertex {
type VertexIndexProp: VertexPropGet<Self, usize>;
// Required method
fn vertex_index(&self) -> VertexIndexProp<Self>;
}Expand description
A graph that has a property that maps each vertex to an integer in the range 0..num_vertices.
Required Associated Types§
type VertexIndexProp: VertexPropGet<Self, usize>
Required Methods§
Sourcefn vertex_index(&self) -> VertexIndexProp<Self>
fn vertex_index(&self) -> VertexIndexProp<Self>
Creates an vertex index map.
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.