Trait petgraph::visit::Data
[−]
[src]
pub trait Data: GraphBase { type NodeWeight; type EdgeWeight; }
Define associated data for nodes and edges
Associated Types
type NodeWeight
type EdgeWeight
Implementors
impl<G, F> Data for NodeFiltered<G, F> where
G: Data,impl<G, F> Data for EdgeFiltered<G, F> where
G: Data,impl<G> Data for Reversed<G> where
G: Data,impl<'a, G> Data for &'a G where
G: Data,impl<'a, G> Data for &'a mut G where
G: Data,impl<N, E, Ty> Data for GraphMap<N, E, Ty> where
N: Copy + PartialEq,
Ty: EdgeType,impl<N, E, Ty, Ix> Data for StableGraph<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,impl<N, E, Ty, Ix> Data for Graph<N, E, Ty, Ix> where
Ix: IndexType,impl<'a, G> Data for Frozen<'a, G> where
G: Data,impl<N, E, Ty, Ix> Data for Csr<N, E, Ty, Ix> where
Ty: EdgeType,
Ix: IndexType,