pub struct NormalParam {
pub normal: Normal,
pub default: Normal,
pub unmodulated_normal: Option<Normal>,
}Expand description
A paramater that contains a normalized value and a default_value.
The values are stored as the Normal type.
Fields§
§normal: NormalThe value of the parameter represented as a Normal
default: NormalThe default value of the parameter represented as a Normal
unmodulated_normal: Option<Normal>An optional value of the parameter represented as a Normal before any
modulation from the host is applied. This may be useful for displaying
modulation differently in plugin GUIs. Right now only CLAP plugins in
Bitwig Studio is known to use this feature.
Implementations§
Trait Implementations§
Source§impl Clone for NormalParam
impl Clone for NormalParam
Source§fn clone(&self) -> NormalParam
fn clone(&self) -> NormalParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NormalParam
Source§impl Debug for NormalParam
impl Debug for NormalParam
Source§impl Default for NormalParam
impl Default for NormalParam
Source§impl From<Normal> for NormalParam
impl From<Normal> for NormalParam
Source§impl From<f32> for NormalParam
impl From<f32> for NormalParam
Source§impl From<f64> for NormalParam
impl From<f64> for NormalParam
Source§impl PartialEq for NormalParam
impl PartialEq for NormalParam
impl StructuralPartialEq for NormalParam
Auto Trait Implementations§
impl Freeze for NormalParam
impl RefUnwindSafe for NormalParam
impl Send for NormalParam
impl Sync for NormalParam
impl Unpin for NormalParam
impl UnsafeUnpin for NormalParam
impl UnwindSafe for NormalParam
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more