[][src]Trait iced_audio::Param

pub trait Param {
    fn id(&self) -> u32;
fn normal(&self) -> Normal;
fn default_normal(&self) -> Normal; }

A paramater that maps a range of values to a Normal, which is used by GUI widgets. It also contains a Normal for the default value of the parameter.

Required methods

fn id(&self) -> u32

returns the unique identifier of the parameter

fn normal(&self) -> Normal

returns the value of the parameter represented as a Normal

fn default_normal(&self) -> Normal

returns the default value of the parameter represented as a Normal

Loading content...

Implementors

impl Param for FloatParam[src]

impl Param for IntParam[src]

impl Param for LogDBParam[src]

impl Param for OctaveParam[src]

Loading content...