Struct audio_processor_traits::parameters::ParameterSpec
source · [−]pub struct ParameterSpec { /* private fields */ }Expand description
Meta-data around a parameter. A GUI application may use this information to display the label around the parameter and decide what type of control to render to modify it.
Implementations
sourceimpl ParameterSpec
impl ParameterSpec
pub fn new(name: String, ty: ParameterType) -> Self
pub fn name(&self) -> &str
pub fn ty(&self) -> &ParameterType
Trait Implementations
sourceimpl Clone for ParameterSpec
impl Clone for ParameterSpec
sourcefn clone(&self) -> ParameterSpec
fn clone(&self) -> ParameterSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for ParameterSpec
impl Send for ParameterSpec
impl Sync for ParameterSpec
impl Unpin for ParameterSpec
impl UnwindSafe for ParameterSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more