Trait basic_dsp::numbers::DspNumber

source ·
pub trait DspNumber: Num + Copy + Clone + Send + Sync + ToSimd + Debug + Signed + FromPrimitive + FftNum + 'static { }
Expand description

A trait for a numeric value which at least supports a subset of the operations defined in this crate. Can be an integer or a floating point number. In order to have support for all operations in this crate a must implement the RealNumber.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> DspNumber for T
where T: Num + Copy + Clone + Send + Sync + ToSimd + Debug + Signed + FromPrimitive + FftNum + 'static,