pub struct ControlChange {
pub number: u8,
pub value: u8,
}
Fields§
§number: u8
CC number (target)
value: u8
Value to be sent via MIDI CC message
Implementations§
Source§impl ControlChange
impl ControlChange
Trait Implementations§
Source§impl Clone for ControlChange
impl Clone for ControlChange
Source§fn clone(&self) -> ControlChange
fn clone(&self) -> ControlChange
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 ControlChange
impl Debug for ControlChange
Source§impl PartialEq for ControlChange
impl PartialEq for ControlChange
impl Copy for ControlChange
impl StructuralPartialEq for ControlChange
Auto Trait Implementations§
impl Freeze for ControlChange
impl RefUnwindSafe for ControlChange
impl Send for ControlChange
impl Sync for ControlChange
impl Unpin for ControlChange
impl UnwindSafe for ControlChange
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