Trait GraphBase
Other items inpetgraph::visit
pub trait GraphBase { type EdgeId: Copy + PartialEq; type NodeId: Copy + PartialEq; }
Base graph trait: defines the associated node identifier and edge identifier types.
type EdgeId: Copy + PartialEq
edge identifier
type NodeId: Copy + PartialEq
node identifier
impl<'a, G> GraphBase for &'a G where G: GraphBase,
type NodeId = G::NodeId
type EdgeId = G::EdgeId
impl<'a, G> GraphBase for &'a mut G where G: GraphBase,
impl<'a, G> GraphBase for Frozen<'a, G> where G: GraphBase,
impl<E, Ix> GraphBase for List<E, Ix> where Ix: IndexType,
impl<G, F> GraphBase for EdgeFiltered<G, F> where G: GraphBase,
impl<G, F> GraphBase for NodeFiltered<G, F> where G: GraphBase,
impl<G: GraphBase> GraphBase for Reversed<G>
impl<N, E, Ty> GraphBase for GraphMap<N, E, Ty> where N: Copy + PartialEq,
impl<N, E, Ty, Ix> GraphBase for Csr<N, E, Ty, Ix> where Ty: EdgeType, Ix: IndexType,
impl<N, E, Ty, Ix> GraphBase for Graph<N, E, Ty, Ix> where Ix: IndexType,
impl<N, E, Ty, Ix> GraphBase for StableGraph<N, E, Ty, Ix> where Ix: IndexType,
impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> GraphBase for MatrixGraph<N, E, Ty, Null, Ix>