Struct vst::event::SysExEvent

source ·
pub struct SysExEvent<'a> {
    pub payload: &'a [u8],
    pub delta_frames: i32,
}
Expand description

A system exclusive event.

This is just a block of data and it is up to the plugin to interpret this. Generally used by midi controllers.

Fields§

§payload: &'a [u8]

The SysEx payload.

§delta_frames: i32

Number of samples into the current processing block that this event occurs on.

E.g. if the block size is 512 and this value is 123, the event will occur on sample samples[123].

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
writes an event into the given placeholder memory location

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.