pub enum ParameterEditKind {
BeginGesture,
ValueChange,
EndGesture,
}Expand description
What kind of parameter-edit gesture event a plugin’s editor reported.
VST3 editors bracket a user gesture with beginEdit/endEdit (e.g. mouse-down /
mouse-up on a knob) and report the values in between with performEdit. Capturing the
brackets — not just the value changes — lets a host distinguish a deliberate, completed
edit from intermediate drag values, coalesce automation into one undo step, or know when a
gesture is in progress.
Variants§
BeginGesture
The user started editing this parameter (IComponentHandler::beginEdit).
ValueChange
The parameter’s value changed (IComponentHandler::performEdit); carries the new
normalized value in ParameterEdit::value.
EndGesture
The user finished editing this parameter (IComponentHandler::endEdit).
Trait Implementations§
Source§impl Clone for ParameterEditKind
impl Clone for ParameterEditKind
Source§fn clone(&self) -> ParameterEditKind
fn clone(&self) -> ParameterEditKind
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 moreSource§impl Debug for ParameterEditKind
impl Debug for ParameterEditKind
Source§impl<'de> Deserialize<'de> for ParameterEditKind
impl<'de> Deserialize<'de> for ParameterEditKind
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
Source§impl PartialEq for ParameterEditKind
impl PartialEq for ParameterEditKind
Source§impl Serialize for ParameterEditKind
impl Serialize for ParameterEditKind
impl StructuralPartialEq for ParameterEditKind
Auto Trait Implementations§
impl Freeze for ParameterEditKind
impl RefUnwindSafe for ParameterEditKind
impl Send for ParameterEditKind
impl Sync for ParameterEditKind
impl Unpin for ParameterEditKind
impl UnsafeUnpin for ParameterEditKind
impl UnwindSafe for ParameterEditKind
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