Enum nih_plug::wrapper::state::ParamValue   
source · pub enum ParamValue {
    F32(f32),
    I32(i32),
    Bool(bool),
    String(String),
}Expand description
A plain, unnormalized value for a parameter.
Variants§
F32(f32)
I32(i32)
Bool(bool)
String(String)
Only used for enum parameters that have the #[id = "..."] attribute set.
Trait Implementations§
source§impl Clone for ParamValue
 
impl Clone for ParamValue
source§fn clone(&self) -> ParamValue
 
fn clone(&self) -> ParamValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for ParamValue
 
impl Debug for ParamValue
source§impl<'de> Deserialize<'de> for ParamValue
 
impl<'de> Deserialize<'de> for ParamValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ParamValue
impl Send for ParamValue
impl Sync for ParamValue
impl Unpin for ParamValue
impl UnwindSafe for ParamValue
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