pub struct ProgramPitchName {
pub midi_pitch: i16,
pub name: String,
}Expand description
A plugin-provided name for a MIDI pitch in a particular program.
Fields§
§midi_pitch: i16MIDI pitch number (0..=127).
name: StringPlugin-provided display name.
Trait Implementations§
Source§impl Clone for ProgramPitchName
impl Clone for ProgramPitchName
Source§fn clone(&self) -> ProgramPitchName
fn clone(&self) -> ProgramPitchName
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 moreSource§impl Debug for ProgramPitchName
impl Debug for ProgramPitchName
Source§impl<'de> Deserialize<'de> for ProgramPitchName
impl<'de> Deserialize<'de> for ProgramPitchName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProgramPitchName
Source§impl PartialEq for ProgramPitchName
impl PartialEq for ProgramPitchName
Source§impl Serialize for ProgramPitchName
impl Serialize for ProgramPitchName
impl StructuralPartialEq for ProgramPitchName
Auto Trait Implementations§
impl Freeze for ProgramPitchName
impl RefUnwindSafe for ProgramPitchName
impl Send for ProgramPitchName
impl Sync for ProgramPitchName
impl Unpin for ProgramPitchName
impl UnsafeUnpin for ProgramPitchName
impl UnwindSafe for ProgramPitchName
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