CkkWeight

Trait CkkWeight 

Source
pub trait CkkWeight
where Self: Copy + Sum + PartialOrd + FromPrimitive + ToPrimitive + Add<Output = Self> + Sub<Output = Self>,
{ }
Expand description

Trait alias for values accepted as weights by CompleteKarmarkarKarp.

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> CkkWeight for T
where Self: Copy + Sum + PartialOrd + FromPrimitive + ToPrimitive + Add<Output = Self> + Sub<Output = Self>,