pub struct BlockEvents {
pub midi: Vec<(MidiEvent, i32)>,
pub params: Vec<(u32, i32, f64)>,
}Expand description
The events a single block should deliver, as sample offsets within that block.
Fields§
§midi: Vec<(MidiEvent, i32)>MIDI events with their sample offset within the block, in scheduled order.
params: Vec<(u32, i32, f64)>Parameter changes as (param_id, sample_offset, value).
Trait Implementations§
Source§impl Clone for BlockEvents
impl Clone for BlockEvents
Source§fn clone(&self) -> BlockEvents
fn clone(&self) -> BlockEvents
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 BlockEvents
impl Debug for BlockEvents
Source§impl Default for BlockEvents
impl Default for BlockEvents
Source§fn default() -> BlockEvents
fn default() -> BlockEvents
Returns the “default value” for a type. Read more
Source§impl PartialEq for BlockEvents
impl PartialEq for BlockEvents
impl StructuralPartialEq for BlockEvents
Auto Trait Implementations§
impl Freeze for BlockEvents
impl RefUnwindSafe for BlockEvents
impl Send for BlockEvents
impl Sync for BlockEvents
impl Unpin for BlockEvents
impl UnsafeUnpin for BlockEvents
impl UnwindSafe for BlockEvents
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