RcbWeight

Trait RcbWeight 

Source
pub trait RcbWeight
where Self: Copy + Debug + Default + Send + Sync + Sum + PartialOrd + ToPrimitive + Add<Output = Self> + Sub<Output = Self> + AddAssign,
{ }
Expand description

Trait alias for values accepted as weights by Rcb and Rib.

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> RcbWeight for T
where Self: Copy + Debug + Default + Send + Sync + Sum + PartialOrd + ToPrimitive + Add<Output = Self> + Sub<Output = Self> + AddAssign,