pub struct Midi1Assignment {
pub assignment: MidiControllerAssignment,
pub controller: u8,
}Expand description
MIDI 1.0 CC assignment.
Maps a MIDI 1.0 Control Change to a parameter.
Fields§
§assignment: MidiControllerAssignmentBase assignment info (parameter_id, bus, channel).
controller: u8CC number (0-127).
Implementations§
Trait Implementations§
Source§impl Clone for Midi1Assignment
impl Clone for Midi1Assignment
Source§fn clone(&self) -> Midi1Assignment
fn clone(&self) -> Midi1Assignment
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 Midi1Assignment
impl Debug for Midi1Assignment
impl Copy for Midi1Assignment
Auto Trait Implementations§
impl Freeze for Midi1Assignment
impl RefUnwindSafe for Midi1Assignment
impl Send for Midi1Assignment
impl Sync for Midi1Assignment
impl Unpin for Midi1Assignment
impl UnwindSafe for Midi1Assignment
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