[−][src]Trait iced_audio::core::param::Param
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.
It stores a unique identifier of user supplied type ID
. This can be an
enum
, u32
, i32
, String
, etc. Each parameter must have a unique ID
value!
Associated Types
type ID
A unique identifier of user supplied type ID
. This can be an
enum
, u32
, i32
, String
, etc. Each parameter must have a unique
ID
value!
Required methods
fn id(&self) -> Self::ID
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