GreedyWeight

Trait GreedyWeight 

Source
pub trait GreedyWeight
where Self: PartialOrd + Zero + Clone + AddAssign,
{ }
Expand description

Trait alias for values accepted as weights by Greedy.

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<T> GreedyWeight for T
where Self: PartialOrd + Zero + Clone + AddAssign,