SampleType

Trait SampleType 

Source
pub trait SampleType: NumCast + Bounded { }
Expand description

Helper trait defining all the types that can be used as Waveform’s sample type.

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> SampleType for T
where T: NumCast + Bounded,