pub struct MidiEvent {
pub sample_offset: u32,
pub status: u8,
pub data1: u8,
pub data2: u8,
}Expand description
A MIDI event with a sample-accurate offset within the current buffer.
Fields§
§sample_offset: u32Sample offset within the buffer (0 = start of buffer).
status: u8MIDI status byte.
data1: u8First data byte.
data2: u8Second data byte.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MidiEvent
impl RefUnwindSafe for MidiEvent
impl Send for MidiEvent
impl Sync for MidiEvent
impl Unpin for MidiEvent
impl UnsafeUnpin for MidiEvent
impl UnwindSafe for MidiEvent
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