Enum midi2::channel_voice2::ChannelVoice2
source · pub enum ChannelVoice2<B: Ump> {
Show 15 variants
AssignableController(AssignableController<B>),
AssignablePerNoteController(AssignablePerNoteController<B>),
ChannelPitchBend(ChannelPitchBend<B>),
ChannelPressure(ChannelPressure<B>),
ControlChange(ControlChange<B>),
KeyPressure(KeyPressure<B>),
NoteOff(NoteOff<B>),
NoteOn(NoteOn<B>),
PerNoteManagement(PerNoteManagement<B>),
PerNotePitchBend(PerNotePitchBend<B>),
ProgramChange(ProgramChange<B>),
RegisteredController(RegisteredController<B>),
RegisteredPerNoteController(RegisteredPerNoteController<B>),
RelativeAssignableController(RelativeAssignableController<B>),
RelativeRegisteredController(RelativeRegisteredController<B>),
}Variants§
AssignableController(AssignableController<B>)
AssignablePerNoteController(AssignablePerNoteController<B>)
ChannelPitchBend(ChannelPitchBend<B>)
ChannelPressure(ChannelPressure<B>)
ControlChange(ControlChange<B>)
KeyPressure(KeyPressure<B>)
NoteOff(NoteOff<B>)
NoteOn(NoteOn<B>)
PerNoteManagement(PerNoteManagement<B>)
PerNotePitchBend(PerNotePitchBend<B>)
ProgramChange(ProgramChange<B>)
RegisteredController(RegisteredController<B>)
RegisteredPerNoteController(RegisteredPerNoteController<B>)
RelativeAssignableController(RelativeAssignableController<B>)
RelativeRegisteredController(RelativeRegisteredController<B>)
Trait Implementations§
source§impl<B: Ump> Channeled<B> for ChannelVoice2<B>
impl<B: Ump> Channeled<B> for ChannelVoice2<B>
source§impl<B: Clone + Ump> Clone for ChannelVoice2<B>
impl<B: Clone + Ump> Clone for ChannelVoice2<B>
source§fn clone(&self) -> ChannelVoice2<B>
fn clone(&self) -> ChannelVoice2<B>
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<B: Ump> From<AssignableController<B>> for ChannelVoice2<B>
impl<B: Ump> From<AssignableController<B>> for ChannelVoice2<B>
source§fn from(original: AssignableController<B>) -> ChannelVoice2<B>
fn from(original: AssignableController<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<AssignablePerNoteController<B>> for ChannelVoice2<B>
impl<B: Ump> From<AssignablePerNoteController<B>> for ChannelVoice2<B>
source§fn from(original: AssignablePerNoteController<B>) -> ChannelVoice2<B>
fn from(original: AssignablePerNoteController<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<ChannelPitchBend<B>> for ChannelVoice2<B>
impl<B: Ump> From<ChannelPitchBend<B>> for ChannelVoice2<B>
source§fn from(original: ChannelPitchBend<B>) -> ChannelVoice2<B>
fn from(original: ChannelPitchBend<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<ChannelPressure<B>> for ChannelVoice2<B>
impl<B: Ump> From<ChannelPressure<B>> for ChannelVoice2<B>
source§fn from(original: ChannelPressure<B>) -> ChannelVoice2<B>
fn from(original: ChannelPressure<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<ChannelVoice2<B>> for UmpMessage<B>
impl<B: Ump> From<ChannelVoice2<B>> for UmpMessage<B>
source§fn from(original: ChannelVoice2<B>) -> UmpMessage<B>
fn from(original: ChannelVoice2<B>) -> UmpMessage<B>
Converts to this type from the input type.
source§impl<B: Ump> From<ControlChange<B>> for ChannelVoice2<B>
impl<B: Ump> From<ControlChange<B>> for ChannelVoice2<B>
source§fn from(original: ControlChange<B>) -> ChannelVoice2<B>
fn from(original: ControlChange<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<KeyPressure<B>> for ChannelVoice2<B>
impl<B: Ump> From<KeyPressure<B>> for ChannelVoice2<B>
source§fn from(original: KeyPressure<B>) -> ChannelVoice2<B>
fn from(original: KeyPressure<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<NoteOff<B>> for ChannelVoice2<B>
impl<B: Ump> From<NoteOff<B>> for ChannelVoice2<B>
source§fn from(original: NoteOff<B>) -> ChannelVoice2<B>
fn from(original: NoteOff<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<NoteOn<B>> for ChannelVoice2<B>
impl<B: Ump> From<NoteOn<B>> for ChannelVoice2<B>
source§fn from(original: NoteOn<B>) -> ChannelVoice2<B>
fn from(original: NoteOn<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<PerNoteManagement<B>> for ChannelVoice2<B>
impl<B: Ump> From<PerNoteManagement<B>> for ChannelVoice2<B>
source§fn from(original: PerNoteManagement<B>) -> ChannelVoice2<B>
fn from(original: PerNoteManagement<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<PerNotePitchBend<B>> for ChannelVoice2<B>
impl<B: Ump> From<PerNotePitchBend<B>> for ChannelVoice2<B>
source§fn from(original: PerNotePitchBend<B>) -> ChannelVoice2<B>
fn from(original: PerNotePitchBend<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<ProgramChange<B>> for ChannelVoice2<B>
impl<B: Ump> From<ProgramChange<B>> for ChannelVoice2<B>
source§fn from(original: ProgramChange<B>) -> ChannelVoice2<B>
fn from(original: ProgramChange<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<RegisteredController<B>> for ChannelVoice2<B>
impl<B: Ump> From<RegisteredController<B>> for ChannelVoice2<B>
source§fn from(original: RegisteredController<B>) -> ChannelVoice2<B>
fn from(original: RegisteredController<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<RegisteredPerNoteController<B>> for ChannelVoice2<B>
impl<B: Ump> From<RegisteredPerNoteController<B>> for ChannelVoice2<B>
source§fn from(original: RegisteredPerNoteController<B>) -> ChannelVoice2<B>
fn from(original: RegisteredPerNoteController<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<RelativeAssignableController<B>> for ChannelVoice2<B>
impl<B: Ump> From<RelativeAssignableController<B>> for ChannelVoice2<B>
source§fn from(original: RelativeAssignableController<B>) -> ChannelVoice2<B>
fn from(original: RelativeAssignableController<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> From<RelativeRegisteredController<B>> for ChannelVoice2<B>
impl<B: Ump> From<RelativeRegisteredController<B>> for ChannelVoice2<B>
source§fn from(original: RelativeRegisteredController<B>) -> ChannelVoice2<B>
fn from(original: RelativeRegisteredController<B>) -> ChannelVoice2<B>
Converts to this type from the input type.
source§impl<B: Ump> Grouped<B> for ChannelVoice2<B>
impl<B: Ump> Grouped<B> for ChannelVoice2<B>
source§impl<B: Ump> Packets for ChannelVoice2<B>
impl<B: Ump> Packets for ChannelVoice2<B>
fn packets(&self) -> PacketsIterator<'_> ⓘ
source§impl<B: PartialEq + Ump> PartialEq for ChannelVoice2<B>
impl<B: PartialEq + Ump> PartialEq for ChannelVoice2<B>
source§fn eq(&self, other: &ChannelVoice2<B>) -> bool
fn eq(&self, other: &ChannelVoice2<B>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<A: Ump, B: Ump + BufferMut + BufferDefault + BufferResize> RebufferFrom<ChannelVoice2<A>> for ChannelVoice2<B>
impl<A: Ump, B: Ump + BufferMut + BufferDefault + BufferResize> RebufferFrom<ChannelVoice2<A>> for ChannelVoice2<B>
fn rebuffer_from(other: ChannelVoice2<A>) -> Self
source§impl<const SIZE: usize, B: Ump> RebufferFrom<ChannelVoice2<B>> for ChannelVoice2<[<B as Buffer>::Unit; SIZE]>
impl<const SIZE: usize, B: Ump> RebufferFrom<ChannelVoice2<B>> for ChannelVoice2<[<B as Buffer>::Unit; SIZE]>
fn rebuffer_from(other: ChannelVoice2<B>) -> Self
source§impl<A: Ump, B: Ump + BufferMut + BufferDefault + BufferTryResize> TryRebufferFrom<ChannelVoice2<A>> for ChannelVoice2<B>
impl<A: Ump, B: Ump + BufferMut + BufferDefault + BufferTryResize> TryRebufferFrom<ChannelVoice2<A>> for ChannelVoice2<B>
fn try_rebuffer_from(other: ChannelVoice2<A>) -> Result<Self, BufferOverflow>
impl<B: Eq + Ump> Eq for ChannelVoice2<B>
impl<B: Ump> StructuralPartialEq for ChannelVoice2<B>
Auto Trait Implementations§
impl<B> Freeze for ChannelVoice2<B>where
B: Freeze,
impl<B> RefUnwindSafe for ChannelVoice2<B>where
B: RefUnwindSafe,
impl<B> Send for ChannelVoice2<B>where
B: Send,
impl<B> Sync for ChannelVoice2<B>where
B: Sync,
impl<B> Unpin for ChannelVoice2<B>where
B: Unpin,
impl<B> UnwindSafe for ChannelVoice2<B>where
B: UnwindSafe,
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