Struct Parameter Descriptor
pub struct ParameterDescriptor<'a> {
pub id: ParameterId,
pub name: &'a str,
pub unit: &'a str,
pub range: ParameterRange,
pub default: f32,
pub automatable: bool,
}Expand description
Product metadata; IDs are permanent, names and units are display text.
Fields§
§id: ParameterId§name: &'a str§unit: &'a str§range: ParameterRange§default: f32§automatable: boolTrait Implementations§
§impl<'a> Clone for ParameterDescriptor<'a>
impl<'a> Clone for ParameterDescriptor<'a>
§fn clone(&self) -> ParameterDescriptor<'a>
fn clone(&self) -> ParameterDescriptor<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ParameterDescriptor<'a>
§impl<'a> Debug for ParameterDescriptor<'a>
impl<'a> Debug for ParameterDescriptor<'a>
§impl<'a> PartialEq for ParameterDescriptor<'a>
impl<'a> PartialEq for ParameterDescriptor<'a>
impl<'a> StructuralPartialEq for ParameterDescriptor<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParameterDescriptor<'a>
impl<'a> RefUnwindSafe for ParameterDescriptor<'a>
impl<'a> Send for ParameterDescriptor<'a>
impl<'a> Sync for ParameterDescriptor<'a>
impl<'a> Unpin for ParameterDescriptor<'a>
impl<'a> UnsafeUnpin for ParameterDescriptor<'a>
impl<'a> UnwindSafe for ParameterDescriptor<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more