#[repr(C)]pub struct AudioUnitProperty {
pub mAudioUnit: AudioUnit,
pub mPropertyID: AudioUnitPropertyID,
pub mScope: AudioUnitScope,
pub mElement: AudioUnitElement,
}
Available on crate features
AUComponent
and AudioComponent
only.Expand description
An audio unit property is defined by the triplet of audio unit scope, element and propertyID. This struct is used with the functions in AudioUnitUtilities.h to deal with audio unit properties, but is included in this header file for completeness.
The audio unit instance which the specified property applies too
The propertyID for the property
The scope for the property
The element for the property
See also Apple’s documentation
Fields§
§mAudioUnit: AudioUnit
§mPropertyID: AudioUnitPropertyID
§mScope: AudioUnitScope
§mElement: AudioUnitElement
Trait Implementations§
Source§impl Clone for AudioUnitProperty
impl Clone for AudioUnitProperty
Source§fn clone(&self) -> AudioUnitProperty
fn clone(&self) -> AudioUnitProperty
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 AudioUnitProperty
impl Debug for AudioUnitProperty
Source§impl Encode for AudioUnitProperty
impl Encode for AudioUnitProperty
Source§impl PartialEq for AudioUnitProperty
impl PartialEq for AudioUnitProperty
Source§impl RefEncode for AudioUnitProperty
impl RefEncode for AudioUnitProperty
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 AudioUnitProperty
impl StructuralPartialEq for AudioUnitProperty
Auto Trait Implementations§
impl Freeze for AudioUnitProperty
impl !RefUnwindSafe for AudioUnitProperty
impl !Send for AudioUnitProperty
impl !Sync for AudioUnitProperty
impl Unpin for AudioUnitProperty
impl !UnwindSafe for AudioUnitProperty
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.