Struct Event
pub struct Event {
pub frame_offset: usize,
pub data: EventData,
}Expand description
Applied before the sample at frame_offset, preserving same-frame order.
EventData::NoteEnd is a completion notification: its offset only orders
delivery and carries no exact termination time.
For nonempty blocks, the offset must be less than the frame count. Empty blocks allow only offset zero and apply events without advancing DSP time.
Fields§
§frame_offset: usize§data: EventDataTrait Implementations§
impl Copy for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more