#[repr(C)]pub struct HostCallbackInfo {
pub hostUserData: *mut c_void,
pub beatAndTempoProc: HostCallback_GetBeatAndTempo,
pub musicalTimeLocationProc: HostCallback_GetMusicalTimeLocation,
pub transportStateProc: HostCallback_GetTransportState,
pub transportStateProc2: HostCallback_GetTransportState2,
}
Available on crate feature
AudioUnitProperties
only.Expand description
Contains the various callbacks for an audio unit to call
Any callback can be NULL.
See also Apple’s documentation
Fields§
§hostUserData: *mut c_void
§beatAndTempoProc: HostCallback_GetBeatAndTempo
§musicalTimeLocationProc: HostCallback_GetMusicalTimeLocation
§transportStateProc: HostCallback_GetTransportState
§transportStateProc2: HostCallback_GetTransportState2
Trait Implementations§
Source§impl Clone for HostCallbackInfo
impl Clone for HostCallbackInfo
Source§fn clone(&self) -> HostCallbackInfo
fn clone(&self) -> HostCallbackInfo
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 HostCallbackInfo
impl Debug for HostCallbackInfo
Source§impl Encode for HostCallbackInfo
impl Encode for HostCallbackInfo
Source§impl PartialEq for HostCallbackInfo
impl PartialEq for HostCallbackInfo
Source§impl RefEncode for HostCallbackInfo
impl RefEncode for HostCallbackInfo
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 HostCallbackInfo
impl StructuralPartialEq for HostCallbackInfo
Auto Trait Implementations§
impl Freeze for HostCallbackInfo
impl RefUnwindSafe for HostCallbackInfo
impl !Send for HostCallbackInfo
impl !Sync for HostCallbackInfo
impl Unpin for HostCallbackInfo
impl UnwindSafe for HostCallbackInfo
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.