Struct midi_msg::TuningNoteChange [−][src]
Change the tunings of one or more notes, either real-time or not.
Used by UniversalNonRealTimeMsg and UniversalRealTimeMsg.
Fields
tuning_program_num: u8Which tuning program is targeted, 0-127. See Parameter::TuningProgramSelect.
tuning_bank_num: Option<u8>Which tuning bank is targeted, 0-127. See Parameter::TuningBankSelect.
tunings: Vec<(u8, Option<Tuning>)>At most 127 (MIDI note number, OptionNone value represents “No change”.
Trait Implementations
impl Clone for TuningNoteChange[src]
fn clone(&self) -> TuningNoteChange[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TuningNoteChange[src]
impl PartialEq<TuningNoteChange> for TuningNoteChange[src]
fn eq(&self, other: &TuningNoteChange) -> bool[src]
fn ne(&self, other: &TuningNoteChange) -> bool[src]
impl StructuralPartialEq for TuningNoteChange[src]
Auto Trait Implementations
impl RefUnwindSafe for TuningNoteChange
impl Send for TuningNoteChange
impl Sync for TuningNoteChange
impl Unpin for TuningNoteChange
impl UnwindSafe for TuningNoteChange
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>,