pub trait FloatParamReadF64 {
// Required methods
fn read(&self) -> f64;
fn read_block<const N: usize>(&self) -> [f64; N];
fn read_into(&self, out: &mut [f64]);
fn read_after(&self, n_samples: usize) -> f64;
fn current(&self) -> f64;
fn value(&self) -> f64;
}Expand description
Precision-routed read accessors for FloatParam at f64. See
FloatParamReadF32 for the contract.
Required Methods§
fn read(&self) -> f64
Sourcefn read_block<const N: usize>(&self) -> [f64; N]
👎Deprecated since 0.53.0: use read_into(&mut scratch[..n]) instead; read_block::<N> advances the smoother by N regardless of how many samples the caller consumes
fn read_block<const N: usize>(&self) -> [f64; N]
use read_into(&mut scratch[..n]) instead; read_block::<N> advances the smoother by N regardless of how many samples the caller consumes
f64 view of FloatParamReadF32::read_block; same
deprecation rationale - use Self::read_into for any
runtime-length chunk.
Sourcefn read_into(&self, out: &mut [f64])
fn read_into(&self, out: &mut [f64])
f64 view of FloatParamReadF32::read_into; one widen per
slot on top of the same one-atomic-pair fast path.
Sourcefn read_after(&self, n_samples: usize) -> f64
fn read_after(&self, n_samples: usize) -> f64
f64 view of FloatParamReadF32::read_after; one widen
on top of the same one-atomic-pair fast path.
fn current(&self) -> f64
fn value(&self) -> f64
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".