petgraph::algo

Trait 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).

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.

Implementors§

Source§

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