Trait FirSample
pub trait FirSample:
Copy
+ Default
+ PartialEq
+ Add<Output = Self>
+ Mul<Output = Self>
+ Sealed {
// Required methods
fn finite(self) -> bool;
fn accumulate(self, a: Self, b: Self) -> Self;
}Expand description
Sample types accepted by StereoFir: f32 and f64.
Required Methods§
fn accumulate(self, a: Self, b: Self) -> Self
fn accumulate(self, a: Self, b: Self) -> Self
self + a * b, fused on targets where fused multiply-add is a baseline
instruction (arm64), and a separate multiply and add elsewhere.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".