pub enum EventType<'src> {
Midi(MidiEvent),
SystemExclusive(SystemExclusiveEvent<'src>),
EscapeSequence(EscapeSequence<'src>),
Meta(MetaEvent<'src>),
}
Expand description
The type of an event in a track chunk, along with event-specific data
Variants§
Midi(MidiEvent)
SystemExclusive(SystemExclusiveEvent<'src>)
EscapeSequence(EscapeSequence<'src>)
Meta(MetaEvent<'src>)
Trait Implementations§
impl<'src> StructuralPartialEq for EventType<'src>
Auto Trait Implementations§
impl<'src> Freeze for EventType<'src>
impl<'src> RefUnwindSafe for EventType<'src>
impl<'src> Send for EventType<'src>
impl<'src> Sync for EventType<'src>
impl<'src> Unpin for EventType<'src>
impl<'src> UnwindSafe for EventType<'src>
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