pub struct NoteExpressionValueDesc {
pub minimum: f64,
pub maximum: f64,
pub default_value: f64,
pub step_count: i32,
}Expand description
Value description for a Note Expression type.
Fields§
§minimum: f64Minimum value (usually 0.0).
maximum: f64Maximum value (usually 1.0).
default_value: f64Default/center value.
step_count: i32Number of discrete steps (0 = continuous).
Implementations§
Source§impl NoteExpressionValueDesc
impl NoteExpressionValueDesc
Trait Implementations§
Source§impl Clone for NoteExpressionValueDesc
impl Clone for NoteExpressionValueDesc
Source§fn clone(&self) -> NoteExpressionValueDesc
fn clone(&self) -> NoteExpressionValueDesc
Returns a duplicate 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 NoteExpressionValueDesc
impl Debug for NoteExpressionValueDesc
Source§impl Default for NoteExpressionValueDesc
impl Default for NoteExpressionValueDesc
Source§fn default() -> NoteExpressionValueDesc
fn default() -> NoteExpressionValueDesc
Returns the “default value” for a type. Read more
Source§impl PartialEq for NoteExpressionValueDesc
impl PartialEq for NoteExpressionValueDesc
impl Copy for NoteExpressionValueDesc
impl StructuralPartialEq for NoteExpressionValueDesc
Auto Trait Implementations§
impl Freeze for NoteExpressionValueDesc
impl RefUnwindSafe for NoteExpressionValueDesc
impl Send for NoteExpressionValueDesc
impl Sync for NoteExpressionValueDesc
impl Unpin for NoteExpressionValueDesc
impl UnwindSafe for NoteExpressionValueDesc
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