pub struct MidiPlayEvent {
pub lane_id: LaneId,
pub event: MidiEvent,
}Expand description
A raw MIDI event bound to a lane.
Fields§
§lane_id: LaneIdLane the MIDI event plays on.
event: MidiEventThe wrapped MIDI event, including its own time and payload.
Implementations§
Trait Implementations§
Source§impl Clone for MidiPlayEvent
impl Clone for MidiPlayEvent
Source§fn clone(&self) -> MidiPlayEvent
fn clone(&self) -> MidiPlayEvent
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 MidiPlayEvent
impl Debug for MidiPlayEvent
impl Eq for MidiPlayEvent
Source§impl PartialEq for MidiPlayEvent
impl PartialEq for MidiPlayEvent
impl StructuralPartialEq for MidiPlayEvent
Auto Trait Implementations§
impl Freeze for MidiPlayEvent
impl RefUnwindSafe for MidiPlayEvent
impl Send for MidiPlayEvent
impl Sync for MidiPlayEvent
impl Unpin for MidiPlayEvent
impl UnsafeUnpin for MidiPlayEvent
impl UnwindSafe for MidiPlayEvent
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