#[non_exhaustive]pub enum NoteExpressionType {
Volume,
Pan,
Tuning,
Vibrato,
Expression,
Brightness,
Custom(u32),
}Expand description
A VST3 per-note expression dimension. Values are normalized 0.0..=1.0; the bipolar
dimensions (Pan, Tuning) center at 0.5.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Volume
Per-note volume (kVolumeTypeID).
Pan
Per-note pan, bipolar (kPanTypeID).
Tuning
Per-note tuning / pitch, bipolar (kTuningTypeID).
Vibrato
Per-note vibrato (kVibratoTypeID).
Expression
Per-note expression (kExpressionTypeID).
Brightness
Per-note brightness / timbre (kBrightnessTypeID).
Custom(u32)
A plugin-defined custom expression type id (kCustomStart..kCustomEnd).
Trait Implementations§
Source§impl Clone for NoteExpressionType
impl Clone for NoteExpressionType
Source§fn clone(&self) -> NoteExpressionType
fn clone(&self) -> NoteExpressionType
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 NoteExpressionType
Source§impl Debug for NoteExpressionType
impl Debug for NoteExpressionType
Source§impl<'de> Deserialize<'de> for NoteExpressionType
impl<'de> Deserialize<'de> for NoteExpressionType
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
impl Eq for NoteExpressionType
Source§impl Hash for NoteExpressionType
impl Hash for NoteExpressionType
Source§impl PartialEq for NoteExpressionType
impl PartialEq for NoteExpressionType
Source§impl Serialize for NoteExpressionType
impl Serialize for NoteExpressionType
impl StructuralPartialEq for NoteExpressionType
Auto Trait Implementations§
impl Freeze for NoteExpressionType
impl RefUnwindSafe for NoteExpressionType
impl Send for NoteExpressionType
impl Sync for NoteExpressionType
impl Unpin for NoteExpressionType
impl UnsafeUnpin for NoteExpressionType
impl UnwindSafe for NoteExpressionType
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