[][src]Module generic_graph::adjacency_list::elements

This module provides the implementation of the Edge type, the Vertex type and the edges' key type, to use with the AdjacencyGraph type

The implementation of the Vertex type consist of a simple rename of the SimpleVertex type, as said type is suitable for this implementation

Re-exports

pub use crate::SimpleVertex as DirectedVertex;

Structs

CompoundKey

The CompoundKey type is the type designated as edge key. It consist of two generic keys of the same type, representing the key of two adjacent Vertexes.

DirectedEdge

The DirectedEdge type is the implementation an implementation od the Edge trait that uses CompoundKey as type, as such it also indicates the direction of the edge which lead from the left vertex to the right one.