pub struct MidiClip {
pub start_tick: i64,
pub length_ticks: i64,
pub events: Vec<ClipEvent>,
}Expand description
A recorded MIDI clip.
Fields§
§start_tick: i64Where this clip starts on the timeline (absolute ticks).
length_ticks: i64Length in ticks. Events beyond this are ignored on playback.
events: Vec<ClipEvent>Events sorted by tick (relative to start_tick).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MidiClip
impl RefUnwindSafe for MidiClip
impl Send for MidiClip
impl Sync for MidiClip
impl Unpin for MidiClip
impl UnsafeUnpin for MidiClip
impl UnwindSafe for MidiClip
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