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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Implementors§
Source§impl<G, F> GraphBase for EdgeFiltered<G, F>where
G: GraphBase,
impl<G, F> GraphBase for EdgeFiltered<G, F>where
G: GraphBase,
Source§impl<G, F> GraphBase for NodeFiltered<G, F>where
G: GraphBase,
impl<G, F> GraphBase for NodeFiltered<G, F>where
G: GraphBase,
Source§impl<N, E, Ty, Ix> GraphBase for StableGraph<N, E, Ty, Ix>where
Ix: IndexType,
Available on crate feature stable_graph only.
impl<N, E, Ty, Ix> GraphBase for StableGraph<N, E, Ty, Ix>where
Ix: IndexType,
Available on crate feature
stable_graph only.