#[repr(C)]pub struct AUInputSamplesInOutputCallbackStruct {
pub inputToOutputCallback: Option<unsafe extern "C-unwind" fn(NonNull<c_void>, NonNull<AudioTimeStamp>, f64, f64)>,
pub userData: *mut c_void,
}Expand description
Used by a host when registering a callback with an audio unit, to provide input-to-output samples mapping
See also Apple’s documentation
Fields§
§inputToOutputCallback: Option<unsafe extern "C-unwind" fn(NonNull<c_void>, NonNull<AudioTimeStamp>, f64, f64)>§userData: *mut c_voidTrait Implementations§
Source§impl Clone for AUInputSamplesInOutputCallbackStruct
impl Clone for AUInputSamplesInOutputCallbackStruct
Source§fn clone(&self) -> AUInputSamplesInOutputCallbackStruct
fn clone(&self) -> AUInputSamplesInOutputCallbackStruct
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 AUInputSamplesInOutputCallbackStruct
Source§impl Encode for AUInputSamplesInOutputCallbackStruct
Available on crate features AUComponent and objc2-core-audio-types only.
impl Encode for AUInputSamplesInOutputCallbackStruct
Available on crate features
AUComponent and objc2-core-audio-types only.Source§impl PartialEq for AUInputSamplesInOutputCallbackStruct
impl PartialEq for AUInputSamplesInOutputCallbackStruct
Source§fn eq(&self, other: &AUInputSamplesInOutputCallbackStruct) -> bool
fn eq(&self, other: &AUInputSamplesInOutputCallbackStruct) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for AUInputSamplesInOutputCallbackStruct
Available on crate features AUComponent and objc2-core-audio-types only.
impl RefEncode for AUInputSamplesInOutputCallbackStruct
Available on crate features
AUComponent and objc2-core-audio-types 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 AUInputSamplesInOutputCallbackStruct
Auto Trait Implementations§
impl !Send for AUInputSamplesInOutputCallbackStruct
impl !Sync for AUInputSamplesInOutputCallbackStruct
impl Freeze for AUInputSamplesInOutputCallbackStruct
impl RefUnwindSafe for AUInputSamplesInOutputCallbackStruct
impl Unpin for AUInputSamplesInOutputCallbackStruct
impl UnsafeUnpin for AUInputSamplesInOutputCallbackStruct
impl UnwindSafe for AUInputSamplesInOutputCallbackStruct
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.