pub struct MidiControllerAssignment {
pub parameter_id: u32,
pub bus_index: i32,
pub channel: u8,
}Expand description
Base assignment info for MIDI controller → parameter mapping.
Fields§
§parameter_id: u32Parameter ID this controller maps to.
bus_index: i32MIDI bus index.
channel: u8MIDI channel (0-15).
Trait Implementations§
Source§impl Clone for MidiControllerAssignment
impl Clone for MidiControllerAssignment
Source§fn clone(&self) -> MidiControllerAssignment
fn clone(&self) -> MidiControllerAssignment
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 MidiControllerAssignment
impl Debug for MidiControllerAssignment
impl Copy for MidiControllerAssignment
Auto Trait Implementations§
impl Freeze for MidiControllerAssignment
impl RefUnwindSafe for MidiControllerAssignment
impl Send for MidiControllerAssignment
impl Sync for MidiControllerAssignment
impl Unpin for MidiControllerAssignment
impl UnwindSafe for MidiControllerAssignment
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