pub enum MidiDialect {
Midi1,
Midi2,
}Expand description
Wire dialect a MIDI port speaks. Midi1 is the default and covers
every format today; Midi2 opts a port into MIDI 2.0 / UMP so the
plugin receives the native 16/32-bit + per-note + group-addressed
variants of crate::events::EventBody instead of the MIDI 1.0
down-conversion. Formats with a UMP transport (CLAP, AU v3) honor
Midi2 both ways; VST3 carries the per-note subset via note
expression; VST2 / AU v2 / AAX / LV2 clamp to MIDI 1.0.
Variants§
Trait Implementations§
Source§impl Clone for MidiDialect
impl Clone for MidiDialect
Source§fn clone(&self) -> MidiDialect
fn clone(&self) -> MidiDialect
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 moreimpl Copy for MidiDialect
Source§impl Debug for MidiDialect
impl Debug for MidiDialect
Source§impl Default for MidiDialect
impl Default for MidiDialect
Source§fn default() -> MidiDialect
fn default() -> MidiDialect
Returns the “default value” for a type. Read more
impl Eq for MidiDialect
Source§impl PartialEq for MidiDialect
impl PartialEq for MidiDialect
Source§fn eq(&self, other: &MidiDialect) -> bool
fn eq(&self, other: &MidiDialect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MidiDialect
Auto Trait Implementations§
impl Freeze for MidiDialect
impl RefUnwindSafe for MidiDialect
impl Send for MidiDialect
impl Sync for MidiDialect
impl Unpin for MidiDialect
impl UnsafeUnpin for MidiDialect
impl UnwindSafe for MidiDialect
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