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