pub trait EdgeWeighting<W>{
// Required method
fn calculate_weight(channel: &ChannelEdge) -> W;
}
Expand description
Computes weights of edges corresponding to ChannelEdge
.
Required Methods§
Sourcefn calculate_weight(channel: &ChannelEdge) -> W
fn calculate_weight(channel: &ChannelEdge) -> W
Edge weighting function.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.