Trait fera_graph::props::WithVertexIndexProp [] [src]

pub trait WithVertexIndexProp: WithVertex {
    type VertexIndexProp: VertexPropGet<Self, usize>;
    fn vertex_index(&self) -> VertexIndexProp<Self>;
}

A graph that has a property that maps each vertex to an integer in the range 0..num_vertices.

Associated Types

Required Methods

Creates an vertex index map.

Implementations on Foreign Types

impl<'a, G: WithVertexIndexProp> WithVertexIndexProp for &'a G
[src]

Implementors