Skip to main content

Fft

Trait Fft 

Source
pub trait Fft {
    // Required method
    fn process(&self, buffer: &mut [Complex32]);
}
Expand description

An in-place FFT plan for a fixed length.

Implementations may cache precomputed twiddle factors and plans.

Required Methods§

Source

fn process(&self, buffer: &mut [Complex32])

Execute the transform in-place over buffer.

buffer.len() must equal the size this plan was created for.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§