Trait ParamValueHandler

Source
pub trait ParamValueHandler {
    // Required methods
    fn get_param(&self, index: usize) -> f32;
    fn set_param(&mut self, index: usize, value: f32);
}
Expand description

Handle collection of parameter values. Allows for nested parameters.

Maybe theres some way to just use a Index and IndexMut implementation for this instead?

Required Methods§

Source

fn get_param(&self, index: usize) -> f32

Source

fn set_param(&mut self, index: usize, value: f32)

Implementations on Foreign Types§

Source§

impl<T> ParamValueHandler for [T]

Source§

fn get_param(&self, index: usize) -> f32

Source§

fn set_param(&mut self, index: usize, value: f32)

Implementors§