#[repr(C)]pub struct NoteParamsControlValue {
pub mID: AudioUnitParameterID,
pub mValue: AudioUnitParameterValue,
}Available on crate features
AUComponent and MusicDevice only.Expand description
used to describe a control and value
This struct is used to describe a parameterID (a control in MIDI terminology, though it is not limited to MIDI CC specifications) and the value of this parameter.
The parameter ID
The value of that parameter
See also Apple’s documentation
Fields§
§mID: AudioUnitParameterID§mValue: AudioUnitParameterValueTrait Implementations§
Source§impl Clone for NoteParamsControlValue
impl Clone for NoteParamsControlValue
Source§fn clone(&self) -> NoteParamsControlValue
fn clone(&self) -> NoteParamsControlValue
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 NoteParamsControlValue
impl Debug for NoteParamsControlValue
Source§impl Encode for NoteParamsControlValue
impl Encode for NoteParamsControlValue
Source§impl PartialEq for NoteParamsControlValue
impl PartialEq for NoteParamsControlValue
Source§impl RefEncode for NoteParamsControlValue
impl RefEncode for NoteParamsControlValue
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NoteParamsControlValue
impl StructuralPartialEq for NoteParamsControlValue
Auto Trait Implementations§
impl Freeze for NoteParamsControlValue
impl RefUnwindSafe for NoteParamsControlValue
impl Send for NoteParamsControlValue
impl Sync for NoteParamsControlValue
impl Unpin for NoteParamsControlValue
impl UnwindSafe for NoteParamsControlValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.