Struct servo_media_audio::biquad_filter_node::BiquadState
source · struct BiquadState {
x1: f64,
x2: f64,
y1: f64,
y2: f64,
}
Expand description
The last two input and output values, per-channel
Fields§
§x1: f64
The input value from last frame
x2: f64
The input value from two frames ago
y1: f64
The output value from last frame
y2: f64
The output value from two frames ago
Implementations§
Trait Implementations§
source§impl Clone for BiquadState
impl Clone for BiquadState
source§fn clone(&self) -> BiquadState
fn clone(&self) -> BiquadState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BiquadState
impl Default for BiquadState
source§fn default() -> BiquadState
fn default() -> BiquadState
Returns the “default value” for a type. Read more
source§impl PartialEq for BiquadState
impl PartialEq for BiquadState
impl Copy for BiquadState
impl StructuralPartialEq for BiquadState
Auto Trait Implementations§
impl Freeze for BiquadState
impl RefUnwindSafe for BiquadState
impl Send for BiquadState
impl Sync for BiquadState
impl Unpin for BiquadState
impl UnwindSafe for BiquadState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)