pub struct ProgramChangeValue { /* private fields */ }
Expand description
Provides the ability to change an instrument (sound, patch, etc.) by specifying the affected channel number and the new program value.
Implementations§
Trait Implementations§
Source§impl Clone for ProgramChangeValue
impl Clone for ProgramChangeValue
Source§fn clone(&self) -> ProgramChangeValue
fn clone(&self) -> ProgramChangeValue
Returns a copy of the value. Read more
1.0.0 · 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 ProgramChangeValue
impl Debug for ProgramChangeValue
Source§impl Default for ProgramChangeValue
impl Default for ProgramChangeValue
Source§fn default() -> ProgramChangeValue
fn default() -> ProgramChangeValue
Returns the “default value” for a type. Read more
Source§impl Hash for ProgramChangeValue
impl Hash for ProgramChangeValue
Source§impl Ord for ProgramChangeValue
impl Ord for ProgramChangeValue
Source§fn cmp(&self, other: &ProgramChangeValue) -> Ordering
fn cmp(&self, other: &ProgramChangeValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProgramChangeValue
impl PartialEq for ProgramChangeValue
Source§impl PartialOrd for ProgramChangeValue
impl PartialOrd for ProgramChangeValue
impl Copy for ProgramChangeValue
impl Eq for ProgramChangeValue
impl StructuralPartialEq for ProgramChangeValue
Auto Trait Implementations§
impl Freeze for ProgramChangeValue
impl RefUnwindSafe for ProgramChangeValue
impl Send for ProgramChangeValue
impl Sync for ProgramChangeValue
impl Unpin for ProgramChangeValue
impl UnwindSafe for ProgramChangeValue
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