#[repr(C)]pub struct MidiEvent {
pub event_type: i32,
pub byte_size: i32,
pub delta_frames: i32,
pub flags: i32,
pub note_length: i32,
pub note_offset: i32,
pub midi_data: [u8; 4],
pub detune: i8,
pub note_off_velocity: u8,
pub reserved_1: u8,
pub reserved_2: u8,
}Fields§
§event_type: i32§byte_size: i32§delta_frames: i32§flags: i32§note_length: i32§note_offset: i32§midi_data: [u8; 4]§detune: i8§note_off_velocity: u8§reserved_1: u8§reserved_2: u8Trait 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 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