pub enum MidiSource {
Cc(u8),
PitchBend,
ChannelPressure,
ProgramChange,
}Expand description
The MIDI message a parameter binds to for host MIDI-learn. CCs cover
the common case; the non-CC per-channel messages each map onto a
VST3 ControllerNumbers value, an AU status byte, and an LV2
midi:binding class.
Variants§
Cc(u8)
Control change, 0..=127.
PitchBend
Pitch bend.
ChannelPressure
Channel pressure (mono aftertouch).
ProgramChange
Program change.
Trait Implementations§
Source§impl Clone for MidiSource
impl Clone for MidiSource
Source§fn clone(&self) -> MidiSource
fn clone(&self) -> MidiSource
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 MidiSource
Source§impl Debug for MidiSource
impl Debug for MidiSource
impl Eq for MidiSource
Source§impl PartialEq for MidiSource
impl PartialEq for MidiSource
Source§fn eq(&self, other: &MidiSource) -> bool
fn eq(&self, other: &MidiSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MidiSource
Auto Trait Implementations§
impl Freeze for MidiSource
impl RefUnwindSafe for MidiSource
impl Send for MidiSource
impl Sync for MidiSource
impl Unpin for MidiSource
impl UnsafeUnpin for MidiSource
impl UnwindSafe for MidiSource
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