pub struct MidiEvent {
pub channel: u8,
pub event: MidiEventType,
}
Expand description
The midi event, along with the channel it applies to
Fields§
§channel: u8
The channel the midi event applies to
event: MidiEventType
The event
Trait Implementations§
impl Copy for MidiEvent
impl StructuralPartialEq for MidiEvent
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