pub trait ComplexSequence {
// Required methods
fn apply(&mut self, f: impl FnMut(Complex<f64>) -> Complex<f64>);
fn apply_into<T>(&self, out: &mut [T], f: impl FnMut(Complex<f64>) -> T);
// Provided methods
fn phase(&mut self, θ: f64) { ... }
fn re(&self, out: &mut [f64]) { ... }
}Expand description
An extension trait adding utility functions to lists of complex numbers.
Required Methods§
Provided Methods§
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.