Trait Measure
petgraph::algo
pub trait Measure: Debug + PartialOrd + Add<Self, Output = Self> + Default + Clone { }
Associated data that can be used for measures (such as length).
impl<M> Measure for M where M: Debug + PartialOrd + Add<M, Output = M> + Default + Clone,