pub struct TimedMidiEvent {
pub delta_time: u32,
pub event: MidiEvent,
}Expand description
A MIDI event with timing information.
Fields§
§delta_time: u32Delta time in ticks since the last event.
event: MidiEventThe MIDI event.
Trait Implementations§
Source§impl Clone for TimedMidiEvent
impl Clone for TimedMidiEvent
Source§fn clone(&self) -> TimedMidiEvent
fn clone(&self) -> TimedMidiEvent
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 moreAuto Trait Implementations§
impl Freeze for TimedMidiEvent
impl RefUnwindSafe for TimedMidiEvent
impl Send for TimedMidiEvent
impl Sync for TimedMidiEvent
impl Unpin for TimedMidiEvent
impl UnsafeUnpin for TimedMidiEvent
impl UnwindSafe for TimedMidiEvent
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