Enum midi_codec::message::ChannelVoiceMessage
source · pub enum ChannelVoiceMessage {
NoteOff {
note: u8,
velocity: u8,
},
NoteOn {
note: u8,
velocity: u8,
},
PolyphonicPressure {
note: u8,
pressure: u8,
},
ControlChange {
control: u8,
value: u8,
},
ProgramChange {
program: u8,
},
ChannelPressure {
pressure: u8,
},
PitchBend {
pitch_bend: u16,
},
}
Variants§
Trait Implementations§
source§impl Clone for ChannelVoiceMessage
impl Clone for ChannelVoiceMessage
source§fn clone(&self) -> ChannelVoiceMessage
fn clone(&self) -> ChannelVoiceMessage
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 ChannelVoiceMessage
impl Debug for ChannelVoiceMessage
source§impl PartialEq for ChannelVoiceMessage
impl PartialEq for ChannelVoiceMessage
source§fn eq(&self, other: &ChannelVoiceMessage) -> bool
fn eq(&self, other: &ChannelVoiceMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChannelVoiceMessage
impl Eq for ChannelVoiceMessage
impl StructuralEq for ChannelVoiceMessage
impl StructuralPartialEq for ChannelVoiceMessage
Auto Trait Implementations§
impl RefUnwindSafe for ChannelVoiceMessage
impl Send for ChannelVoiceMessage
impl Sync for ChannelVoiceMessage
impl Unpin for ChannelVoiceMessage
impl UnwindSafe for ChannelVoiceMessage
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