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
type VertexIndexProp: VertexPropGet<Self, usize>
Required Methods
fn vertex_index(&self) -> VertexIndexProp<Self>
Creates an vertex index map.
Implementations on Foreign Types
impl<'a, G: WithVertexIndexProp> WithVertexIndexProp for &'a G
[src]
type VertexIndexProp = VertexIndexProp<G>
fn vertex_index(&self) -> VertexIndexProp<Self>
[src]
Implementors
impl<K: CompleteEdgeKind> WithVertexIndexProp for Complete<K> type VertexIndexProp = CVertexIndexProp;
impl<V: Num, K: StaticEdgeKind> WithVertexIndexProp for Static<V, K> type VertexIndexProp = SVertexIndexProp;