pub enum EventBody {
Midi(MidiData),
ParamValue {
param_id: u32,
value: f64,
},
ParamGesture {
param_id: u32,
active: bool,
},
TransportFlag(TransportFlag),
}Expand description
What this event carries.
Variants§
Midi(MidiData)
MIDI 1.0 / 2.0 message.
ParamValue
Host-driven parameter automation point.
Fields
§
param_id: u32Parameter id from crate::ParameterInfo::id.
ParamGesture
Plugin-emitted “user touched this parameter” notification. Hosts use the touch / release pair to delimit a gesture for undo grouping and automation.
TransportFlag(TransportFlag)
Host transport state changed mid-block (e.g. user hit play between samples 256 and 257). Plugins that care about exact transport flip points read these out of the input event list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventBody
impl RefUnwindSafe for EventBody
impl Send for EventBody
impl Sync for EventBody
impl Unpin for EventBody
impl UnsafeUnpin for EventBody
impl UnwindSafe for EventBody
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