pub trait FloatParamReadF64 {
// Required methods
fn read(&self) -> f64;
fn read_block<const N: usize>(&self) -> [f64; N];
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]
fn read_block<const N: usize>(&self) -> [f64; N]
f64 view of FloatParamReadF32::read_block; the smoother
itself stores f32 internally, so this is a per-element
widen 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".