Struct midi_msg::KeyBasedTuningDump [−][src]
Set the tunings of all 128 notes.
Used by UniversalNonRealTimeMsg
.
Fields
tuning_program_num: u8
Which tuning program is targeted, 0-127. See Parameter::TuningProgramSelect
.
tuning_bank_num: Option<u8>
Which tuning bank is targeted, 0-127. See Parameter::TuningBankSelect
.
name: [AsciiChar; 16]
An exactly 16 character name
tunings: Vec<Option<Tuning>>
Should be exactly 128 Tunings with the index of each value = the MIDI note number being tuned.
Excess values will be ignored. If fewer than 128 values are supplied, equal temperament
will be applied to the remaining notes.
A None
value represents “No change”.
Trait Implementations
impl Clone for KeyBasedTuningDump
[src]
fn clone(&self) -> KeyBasedTuningDump
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for KeyBasedTuningDump
[src]
impl PartialEq<KeyBasedTuningDump> for KeyBasedTuningDump
[src]
fn eq(&self, other: &KeyBasedTuningDump) -> bool
[src]
fn ne(&self, other: &KeyBasedTuningDump) -> bool
[src]
impl StructuralPartialEq for KeyBasedTuningDump
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyBasedTuningDump
impl Send for KeyBasedTuningDump
impl Sync for KeyBasedTuningDump
impl Unpin for KeyBasedTuningDump
impl UnwindSafe for KeyBasedTuningDump
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>,