#[repr(C)]pub struct AudioUnitConnection {
pub sourceAudioUnit: *mut OpaqueAudioComponentInstance,
pub sourceOutputNumber: u32,
pub destInputNumber: u32,
}Expand description
This structure contains the information needed to make a connection between a source and destination audio unit.
The structure is set on the destination audio unit’s input element
The audio unit that is the source for the connection
The source audio unit’s output element to be used in the connection
The destination audio unit’s input element to be used in the connection
See also Apple’s documentation
Fields§
§sourceAudioUnit: *mut OpaqueAudioComponentInstance§sourceOutputNumber: u32§destInputNumber: u32Trait Implementations§
Source§impl Clone for AudioUnitConnection
impl Clone for AudioUnitConnection
Source§fn clone(&self) -> AudioUnitConnection
fn clone(&self) -> AudioUnitConnection
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 AudioUnitConnection
Source§impl Debug for AudioUnitConnection
impl Debug for AudioUnitConnection
Source§impl Encode for AudioUnitConnection
Available on crate features AUComponent and AudioComponent only.
impl Encode for AudioUnitConnection
Available on crate features
AUComponent and AudioComponent only.Source§impl PartialEq for AudioUnitConnection
impl PartialEq for AudioUnitConnection
Source§fn eq(&self, other: &AudioUnitConnection) -> bool
fn eq(&self, other: &AudioUnitConnection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for AudioUnitConnection
Available on crate features AUComponent and AudioComponent only.
impl RefEncode for AudioUnitConnection
Available on crate features
AUComponent and 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 AudioUnitConnection
Auto Trait Implementations§
impl !RefUnwindSafe for AudioUnitConnection
impl !Send for AudioUnitConnection
impl !Sync for AudioUnitConnection
impl !UnwindSafe for AudioUnitConnection
impl Freeze for AudioUnitConnection
impl Unpin for AudioUnitConnection
impl UnsafeUnpin for AudioUnitConnection
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.