Struct midi_msg::ControllerDestination
source · [−]pub struct ControllerDestination {
pub channel: Channel,
pub param_ranges: Vec<(ControlledParameter, u8)>,
}
Expand description
Allows for the selection of the destination of a channel pressure/poly key pressure message.
Used by UniversalRealTimeMsg
.
Defined in CA-022.
Fields
channel: Channel
param_ranges: Vec<(ControlledParameter, u8)>
Any number of (ControlledParameter, range) pairs
Trait Implementations
sourceimpl Clone for ControllerDestination
impl Clone for ControllerDestination
sourcefn clone(&self) -> ControllerDestination
fn clone(&self) -> ControllerDestination
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ControllerDestination
impl Debug for ControllerDestination
sourceimpl PartialEq<ControllerDestination> for ControllerDestination
impl PartialEq<ControllerDestination> for ControllerDestination
sourcefn eq(&self, other: &ControllerDestination) -> bool
fn eq(&self, other: &ControllerDestination) -> bool
impl Eq for ControllerDestination
impl StructuralEq for ControllerDestination
impl StructuralPartialEq for ControllerDestination
Auto Trait Implementations
impl RefUnwindSafe for ControllerDestination
impl Send for ControllerDestination
impl Sync for ControllerDestination
impl Unpin for ControllerDestination
impl UnwindSafe for ControllerDestination
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more