Trait orzir_core::graph::WeightedEdge
source · pub trait WeightedEdge<K>: GraphEdge<K>where
K: Copy,{
type Weight: Add<Self::Weight, Output = Self::Weight> + Ord + Maximum + Zero + Copy;
// Required method
fn weight(&self) -> Self::Weight;
}Expand description
A trait for weighted edges.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.