pub struct TrackedMidiEvent {
pub last_track: usize,
pub event: MidiEvent,
}Expand description
A MidiEvent tagged with the track it belongs to.
Fields§
§last_track: usizeIndex of the track that produced the event.
event: MidiEventThe event itself.
Trait Implementations§
Source§impl Clone for TrackedMidiEvent
impl Clone for TrackedMidiEvent
Source§fn clone(&self) -> TrackedMidiEvent
fn clone(&self) -> TrackedMidiEvent
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 TrackedMidiEvent
impl Debug for TrackedMidiEvent
impl Eq for TrackedMidiEvent
Source§impl PartialEq for TrackedMidiEvent
impl PartialEq for TrackedMidiEvent
Source§fn eq(&self, other: &TrackedMidiEvent) -> bool
fn eq(&self, other: &TrackedMidiEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrackedMidiEvent
Auto Trait Implementations§
impl Freeze for TrackedMidiEvent
impl RefUnwindSafe for TrackedMidiEvent
impl Send for TrackedMidiEvent
impl Sync for TrackedMidiEvent
impl Unpin for TrackedMidiEvent
impl UnsafeUnpin for TrackedMidiEvent
impl UnwindSafe for TrackedMidiEvent
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