#[repr(C)]pub struct AudioUnitParameter {
pub mAudioUnit: *mut OpaqueAudioComponentInstance,
pub mParameterID: u32,
pub mScope: u32,
pub mElement: u32,
}Expand description
An audio unit parameter is defined by the triplet of audio unit scope, element and parameterID. This struct is used with the functions in AudioUnitUtilities.h to deal with audio unit parameters, but is included in this header file for completeness.
The audio unit instance to which the specified parameter applies.
The parameterID for the parameter
The scope for the parameter
The element for the parameter
See also Apple’s documentation
Fields§
§mAudioUnit: *mut OpaqueAudioComponentInstance§mParameterID: u32§mScope: u32§mElement: u32Trait Implementations§
Source§impl Clone for AudioUnitParameter
impl Clone for AudioUnitParameter
Source§fn clone(&self) -> AudioUnitParameter
fn clone(&self) -> AudioUnitParameter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioUnitParameter
Source§impl Debug for AudioUnitParameter
impl Debug for AudioUnitParameter
Source§impl Encode for AudioUnitParameter
Available on crate feature AudioComponent only.
impl Encode for AudioUnitParameter
Available on crate feature
AudioComponent only.Source§impl PartialEq for AudioUnitParameter
impl PartialEq for AudioUnitParameter
Source§fn eq(&self, other: &AudioUnitParameter) -> bool
fn eq(&self, other: &AudioUnitParameter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for AudioUnitParameter
Available on crate feature AudioComponent only.
impl RefEncode for AudioUnitParameter
Available on crate feature
AudioComponent only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl StructuralPartialEq for AudioUnitParameter
Auto Trait Implementations§
impl !RefUnwindSafe for AudioUnitParameter
impl !Send for AudioUnitParameter
impl !Sync for AudioUnitParameter
impl !UnwindSafe for AudioUnitParameter
impl Freeze for AudioUnitParameter
impl Unpin for AudioUnitParameter
impl UnsafeUnpin for AudioUnitParameter
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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.