pub trait Data: GraphBase {
type NodeWeight;
type EdgeWeight;
}Expand description
Define associated data for nodes and edges
Required Associated Types§
type NodeWeight
type EdgeWeight
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".