pub struct PluginEvent {
pub bus_index: i32,
pub sample_offset: i32,
pub ppq_position: f64,
pub flags: u16,
pub data: PluginEventData,
}Expand description
A fully owned VST3 event.
Unlike the SDK’s raw Event union, pointer-backed payloads live in this value and remain safe
to queue, move between threads, or serialize across process isolation.
Fields§
§bus_index: i32Event-bus index.
sample_offset: i32Sample offset within the next process block.
ppq_position: f64Musical position in quarter notes, when known.
flags: u16Raw VST3 event flags.
data: PluginEventDataEvent payload.
Implementations§
Trait Implementations§
Source§impl Clone for PluginEvent
impl Clone for PluginEvent
Source§fn clone(&self) -> PluginEvent
fn clone(&self) -> PluginEvent
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 PluginEvent
impl Debug for PluginEvent
Source§impl<'de> Deserialize<'de> for PluginEvent
impl<'de> Deserialize<'de> for PluginEvent
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 From<MidiEvent> for PluginEvent
impl From<MidiEvent> for PluginEvent
Source§impl PartialEq for PluginEvent
impl PartialEq for PluginEvent
Source§impl Serialize for PluginEvent
impl Serialize for PluginEvent
impl StructuralPartialEq for PluginEvent
Auto Trait Implementations§
impl Freeze for PluginEvent
impl RefUnwindSafe for PluginEvent
impl Send for PluginEvent
impl Sync for PluginEvent
impl Unpin for PluginEvent
impl UnsafeUnpin for PluginEvent
impl UnwindSafe for PluginEvent
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