Trait petgraph::visit::Graphlike
[−]
[src]
pub trait Graphlike { type NodeId: Clone; }
Base trait for graphs that defines the node identifier.
Associated Types
Implementors
impl<N, E, Ty, Ix> Graphlike for Graph<N, E, Ty, Ix> where
Ix: IndexType, type NodeId = NodeIndex<Ix>;impl<N: Clone, E> Graphlike for GraphMap<N, E> type NodeId = N;
impl<'a, G: Graphlike> Graphlike for AsUndirected<&'a G> type NodeId = G::NodeId;
impl<'a, G: Graphlike> Graphlike for Reversed<&'a G> type NodeId = G::NodeId;