pub struct ProgramChange {
pub channel: MidiChannel,
pub program: u8,
}Expand description
Program change message.
Fields§
§channel: MidiChannelMIDI channel (0-15).
program: u8Program number (0-127).
Trait Implementations§
Source§impl Clone for ProgramChange
impl Clone for ProgramChange
Source§fn clone(&self) -> ProgramChange
fn clone(&self) -> ProgramChange
Returns a duplicate 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 ProgramChange
impl Debug for ProgramChange
Source§impl PartialEq for ProgramChange
impl PartialEq for ProgramChange
impl Copy for ProgramChange
impl StructuralPartialEq for ProgramChange
Auto Trait Implementations§
impl Freeze for ProgramChange
impl RefUnwindSafe for ProgramChange
impl Send for ProgramChange
impl Sync for ProgramChange
impl Unpin for ProgramChange
impl UnwindSafe for ProgramChange
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