FrequencyNum

Trait FrequencyNum 

Source
pub trait FrequencyNum: RawFrequency
where Self: 'static + Copy + Eq + Default + PartialEq + PartialOrd + Add<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + Div<Output = Self> + Rem<Output = Self> + Neg<Output = Self> + Not<Output = Self> + AddAssign + SubAssign + MulAssign + DivAssign + RemAssign + NumRef + FromPrimitive + ToPrimitive + Signed + Zero + One,
{ }
Expand description

The FrequencyNum trait extends the RawFrequency trait with additional numeric operations and traits.

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> FrequencyNum for T
where T: RawFrequency + 'static + Copy + Default + Eq + PartialEq + PartialOrd + Add<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + Div<Output = Self> + Rem<Output = Self> + Neg<Output = Self> + Not<Output = Self> + AddAssign + SubAssign + MulAssign + DivAssign + RemAssign + NumRef + FromPrimitive + ToPrimitive + Signed + Zero + One,