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