#[repr(C)]pub struct AudioUnitProperty {
pub mAudioUnit: *mut OpaqueAudioComponentInstance,
pub mPropertyID: u32,
pub mScope: u32,
pub mElement: u32,
}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: *mut OpaqueAudioComponentInstance§mPropertyID: u32§mScope: u32§mElement: u32Trait 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 (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 AudioUnitProperty
Source§impl Debug for AudioUnitProperty
impl Debug for AudioUnitProperty
Source§impl Encode for AudioUnitProperty
Available on crate feature AudioComponent only.
impl Encode for AudioUnitProperty
Available on crate feature
AudioComponent only.Source§impl PartialEq for AudioUnitProperty
impl PartialEq for AudioUnitProperty
Source§fn eq(&self, other: &AudioUnitProperty) -> bool
fn eq(&self, other: &AudioUnitProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for AudioUnitProperty
Available on crate feature AudioComponent only.
impl RefEncode for AudioUnitProperty
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 AudioUnitProperty
Auto Trait Implementations§
impl !RefUnwindSafe for AudioUnitProperty
impl !Send for AudioUnitProperty
impl !Sync for AudioUnitProperty
impl !UnwindSafe for AudioUnitProperty
impl Freeze for AudioUnitProperty
impl Unpin for AudioUnitProperty
impl UnsafeUnpin for AudioUnitProperty
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.