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_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]

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.

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§