Trait petgraph::algo::Measure

source ·
pub trait Measure:
    Debug
    + PartialOrd
    + Add<Self, Output = Self>
    + Default
    + Clone { }
Expand description

Associated data that can be used for measures (such as length).

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<M> Measure for M
where M: Debug + PartialOrd + Add<M, Output = M> + Default + Clone,