pub enum Event<'src> {
Midi(MidiEvent),
SysEx(&'src [u8]),
Escape(&'src [u8]),
}Expand description
All possible midi events
Variants§
Trait Implementations§
impl<'src> Copy for Event<'src>
impl<'src> StructuralPartialEq for Event<'src>
Auto Trait Implementations§
impl<'src> Freeze for Event<'src>
impl<'src> RefUnwindSafe for Event<'src>
impl<'src> Send for Event<'src>
impl<'src> Sync for Event<'src>
impl<'src> Unpin for Event<'src>
impl<'src> UnwindSafe for Event<'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