Struct midi_msg::KeyBasedInstrumentControl [−][src]
Intended to act like Control Change messages, but targeted at an individual key.
For e.g. Drum sounds that have configurable attack/release/decay per key.
Used by UniversalRealTimeMsg::KeyBasedInstrumentControl
.
Defined in CA-023.
Fields
channel: Channel
key: u8
The MIDI key number.
control_values: Vec<(u8, u8)>
Any number of (control number, value) pairs.
Any controller number may be used except Bank Select MSB/LSB (0x00
, 0x20
),
Data Entry MSB/LSB (0x06
, 0x26
), RPN/NRPN messages (0x60
– 0x65
),
and Mode Change messages(0x78
-0x7F
).
Disallowed values will be set to 0x01
(targeting the mod wheel, which probably has no meaning).
Trait Implementations
impl Clone for KeyBasedInstrumentControl
[src]
fn clone(&self) -> KeyBasedInstrumentControl
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for KeyBasedInstrumentControl
[src]
impl PartialEq<KeyBasedInstrumentControl> for KeyBasedInstrumentControl
[src]
fn eq(&self, other: &KeyBasedInstrumentControl) -> bool
[src]
fn ne(&self, other: &KeyBasedInstrumentControl) -> bool
[src]
impl StructuralPartialEq for KeyBasedInstrumentControl
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyBasedInstrumentControl
impl Send for KeyBasedInstrumentControl
impl Sync for KeyBasedInstrumentControl
impl Unpin for KeyBasedInstrumentControl
impl UnwindSafe for KeyBasedInstrumentControl
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,