Skip to main content

FftFloat

Trait FftFloat 

Source
pub trait FftFloat: FftNum + Float { }
Expand description

Floating-point element type a convolution can run in: f32 or f64.

FftNum makes it usable by rustfft/realfft; Float provides the NaN handling and numeric casts the convolution needs. Sealed in practice to the two IEEE types rustfft supports.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FftFloat for f32

Source§

impl FftFloat for f64

Implementors§