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§
source§impl Clone for ControllerDestination
impl Clone for ControllerDestination
source§fn clone(&self) -> ControllerDestination
fn clone(&self) -> ControllerDestination
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 ControllerDestination
impl Debug for ControllerDestination
source§impl PartialEq for ControllerDestination
impl PartialEq for ControllerDestination
source§fn eq(&self, other: &ControllerDestination) -> bool
fn eq(&self, other: &ControllerDestination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ControllerDestination
impl StructuralPartialEq for ControllerDestination
Auto Trait Implementations§
impl Freeze for ControllerDestination
impl RefUnwindSafe for ControllerDestination
impl Send for ControllerDestination
impl Sync for ControllerDestination
impl Unpin for ControllerDestination
impl UnwindSafe for ControllerDestination
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