Trait petgraph::visit::GraphBase

source ·
pub trait GraphBase {
    type EdgeId: Copy + PartialEq;
    type NodeId: Copy + PartialEq;
}
Expand description

Base graph trait: defines the associated node identifier and edge identifier types.

Required Associated Types§

source

type EdgeId: Copy + PartialEq

edge identifier

source

type NodeId: Copy + PartialEq

node identifier

Implementations on Foreign Types§

source§

impl<'a, G> GraphBase for &'a G
where G: GraphBase,

source§

impl<'a, G> GraphBase for &'a mut G
where G: GraphBase,

Implementors§

source§

impl<'a, G> GraphBase for Frozen<'a, G>
where G: GraphBase,

source§

impl<E, Ix> GraphBase for List<E, Ix>
where Ix: IndexType,

source§

impl<G, F> GraphBase for EdgeFiltered<G, F>
where G: GraphBase,

source§

impl<G, F> GraphBase for NodeFiltered<G, F>
where G: GraphBase,

source§

impl<G: GraphBase> GraphBase for Reversed<G>

source§

impl<N, E, Ty, Ix> GraphBase for Csr<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

source§

impl<N, E, Ty, Ix> GraphBase for Graph<N, E, Ty, Ix>
where Ix: IndexType,

source§

impl<N, E, Ty, Ix> GraphBase for StableGraph<N, E, Ty, Ix>
where Ix: IndexType,

source§

impl<N, E, Ty, S> GraphBase for GraphMap<N, E, Ty, S>
where N: Copy + PartialEq, S: BuildHasher,

source§

impl<N, E, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> GraphBase for MatrixGraph<N, E, Ty, Null, Ix>