#[repr(C)]pub struct AUParameterMIDIMapping {
pub mScope: AudioUnitScope,
pub mElement: AudioUnitElement,
pub mParameterID: AudioUnitParameterID,
pub mFlags: AUParameterMIDIMappingFlags,
pub mSubRangeMin: AudioUnitParameterValue,
pub mSubRangeMax: AudioUnitParameterValue,
pub mStatus: u8,
pub mData1: u8,
pub reserved1: u8,
pub reserved2: u8,
pub reserved3: u32,
}Available on crate features
AUComponent and AudioUnitProperties only.Expand description
Represents a mapping between a MIDI message and an audio unit’s parameter.
The reserved fields in this structure are for future use. In the current implementation, they help align the structure to 64 bit size. Do not use the names of these fields in a host application. They are subject to change.
See also Apple’s documentation
Fields§
§mScope: AudioUnitScope§mElement: AudioUnitElement§mParameterID: AudioUnitParameterID§mFlags: AUParameterMIDIMappingFlags§mSubRangeMin: AudioUnitParameterValue§mSubRangeMax: AudioUnitParameterValue§mStatus: u8§mData1: u8§reserved1: u8§reserved2: u8§reserved3: u32Trait Implementations§
Source§impl Clone for AUParameterMIDIMapping
impl Clone for AUParameterMIDIMapping
Source§fn clone(&self) -> AUParameterMIDIMapping
fn clone(&self) -> AUParameterMIDIMapping
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 AUParameterMIDIMapping
impl Debug for AUParameterMIDIMapping
Source§impl Encode for AUParameterMIDIMapping
impl Encode for AUParameterMIDIMapping
Source§impl PartialEq for AUParameterMIDIMapping
impl PartialEq for AUParameterMIDIMapping
Source§impl RefEncode for AUParameterMIDIMapping
impl RefEncode for AUParameterMIDIMapping
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 AUParameterMIDIMapping
impl StructuralPartialEq for AUParameterMIDIMapping
Auto Trait Implementations§
impl Freeze for AUParameterMIDIMapping
impl RefUnwindSafe for AUParameterMIDIMapping
impl Send for AUParameterMIDIMapping
impl Sync for AUParameterMIDIMapping
impl Unpin for AUParameterMIDIMapping
impl UnwindSafe for AUParameterMIDIMapping
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.