pub enum UmpDecoded {
Midi1(MidiMessage),
Midi2(Midi2ChannelVoice),
Unhandled(u8),
}Expand description
The decoded content of a UMP, spanning the message types this lane models.
Variants§
Midi1(MidiMessage)
MIDI 1.0 channel voice (MT 0x2).
Midi2(Midi2ChannelVoice)
MIDI 2.0 channel voice (MT 0x4).
Unhandled(u8)
A message type this decoder does not expand (utility, system, data/SysEx). Carries the raw Message Type nibble.
Trait Implementations§
Source§impl Clone for UmpDecoded
impl Clone for UmpDecoded
impl Copy for UmpDecoded
Source§impl Debug for UmpDecoded
impl Debug for UmpDecoded
impl Eq for UmpDecoded
Source§impl PartialEq for UmpDecoded
impl PartialEq for UmpDecoded
impl StructuralPartialEq for UmpDecoded
Auto Trait Implementations§
impl Freeze for UmpDecoded
impl RefUnwindSafe for UmpDecoded
impl Send for UmpDecoded
impl Sync for UmpDecoded
impl Unpin for UmpDecoded
impl UnsafeUnpin for UmpDecoded
impl UnwindSafe for UmpDecoded
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