pub struct DataExchangeBlock {
pub queue_id: u32,
pub user_context_id: u32,
pub block_id: u32,
pub data: Vec<u8>,
}Expand description
An owned snapshot sent by a plug-in through VST3’s data-exchange API.
The plug-in-owned exchange block is only valid during the controller callback. The host
copies it on a non-realtime thread, so values returned by
Plugin::take_data_exchange_blocks remain valid after that callback returns.
Fields§
§queue_id: u32Host queue identifier assigned when the processor opened the queue.
user_context_id: u32Processor-defined context identifier associated with the queue.
block_id: u32Queue-local block identifier.
data: Vec<u8>Complete block payload.
Trait Implementations§
Source§impl Clone for DataExchangeBlock
impl Clone for DataExchangeBlock
Source§fn clone(&self) -> DataExchangeBlock
fn clone(&self) -> DataExchangeBlock
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 DataExchangeBlock
impl Debug for DataExchangeBlock
Source§impl<'de> Deserialize<'de> for DataExchangeBlock
impl<'de> Deserialize<'de> for DataExchangeBlock
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 DataExchangeBlock
Source§impl PartialEq for DataExchangeBlock
impl PartialEq for DataExchangeBlock
Source§impl Serialize for DataExchangeBlock
impl Serialize for DataExchangeBlock
impl StructuralPartialEq for DataExchangeBlock
Auto Trait Implementations§
impl Freeze for DataExchangeBlock
impl RefUnwindSafe for DataExchangeBlock
impl Send for DataExchangeBlock
impl Sync for DataExchangeBlock
impl Unpin for DataExchangeBlock
impl UnsafeUnpin for DataExchangeBlock
impl UnwindSafe for DataExchangeBlock
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