pub struct ProgramChangeEvent {
pub channel: u8,
pub program: u8,
}
Fields§
§channel: u8
§program: u8
Implementations§
Trait Implementations§
Source§impl ChannelEvent for ProgramChangeEvent
impl ChannelEvent for ProgramChangeEvent
Source§impl Clone for ProgramChangeEvent
impl Clone for ProgramChangeEvent
Source§fn clone(&self) -> ProgramChangeEvent
fn clone(&self) -> ProgramChangeEvent
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 ProgramChangeEvent
impl Debug for ProgramChangeEvent
Source§impl MIDIEvent for ProgramChangeEvent
impl MIDIEvent for ProgramChangeEvent
Source§impl PartialEq for ProgramChangeEvent
impl PartialEq for ProgramChangeEvent
Source§impl PlaybackEvent for ProgramChangeEvent
impl PlaybackEvent for ProgramChangeEvent
Source§impl SerializeEvent for ProgramChangeEvent
impl SerializeEvent for ProgramChangeEvent
fn serialize_event<T: Write>( &self, buf: &mut T, ) -> Result<usize, MIDIWriteError>
impl StructuralPartialEq for ProgramChangeEvent
Auto Trait Implementations§
impl Freeze for ProgramChangeEvent
impl RefUnwindSafe for ProgramChangeEvent
impl Send for ProgramChangeEvent
impl Sync for ProgramChangeEvent
impl Unpin for ProgramChangeEvent
impl UnwindSafe for ProgramChangeEvent
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