Trait fera_graph::props::WithEdgeIndexProp
[−]
[src]
pub trait WithEdgeIndexProp: WithEdge { type EdgeIndexProp: EdgePropGet<Self, usize>; fn edge_index(&self) -> EdgeIndexProp<Self>; }
A graph that has a property that maps each edge to an integer in the range 0..num_edges
.
Associated Types
type EdgeIndexProp: EdgePropGet<Self, usize>
Required Methods
fn edge_index(&self) -> EdgeIndexProp<Self>
Creates an edge index map.
Implementations on Foreign Types
impl<'a, G: WithEdgeIndexProp> WithEdgeIndexProp for &'a G
[src]
type EdgeIndexProp = EdgeIndexProp<G>
fn edge_index(&self) -> EdgeIndexProp<Self>
[src]
Implementors
impl<K: CompleteEdgeKind> WithEdgeIndexProp for Complete<K> type EdgeIndexProp = CEdgeIndexProp<K::Edge>;
impl<V: Num, K: StaticEdgeKind> WithEdgeIndexProp for Static<V, K> type EdgeIndexProp = SEdgeIndexProp<K>;