Skip to main content

FloatParamReadF64

Trait FloatParamReadF64 

Source
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§

Source

fn read(&self) -> f64

Source

fn 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

f64 view of FloatParamReadF32::read_block; same deprecation rationale - use Self::read_into for any runtime-length chunk.

Source

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.

Source

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.

Source

fn current(&self) -> f64

Source

fn value(&self) -> f64

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§