VnFirstWeight

Trait VnFirstWeight 

Source
pub trait VnFirstWeight
where Self: Clone + Send + Sync + Sum + PartialOrd + FromPrimitive + Zero + One + Sub<Output = Self> + AddAssign,
{ }
Expand description

Trait alias for values accepted as weights by VnFirst.

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> VnFirstWeight for T
where Self: Clone + Send + Sync + Sum + PartialOrd + FromPrimitive + Zero + One + Sub<Output = Self> + AddAssign,