#[repr(transparent)]pub struct AVAudioPlayerNodeCompletionCallbackType(pub NSInteger);Available on crate feature
AVAudioPlayerNode only.Expand description
Specifies when the completion handler must be invoked.
The buffer or file data has been consumed by the player.
The buffer or file data has been rendered (i.e. output) by the player. This
does not account for any signal processing latencies downstream of the player
in the engine (see AVAudioNode(outputPresentationLatency)).
Applicable only when the engine is rendering to/from an audio device. The buffer or file has finished playing. This accounts for both (small) signal processing latencies downstream of the player in the engine, as well as (possibly significant) latency in the audio playback device.
API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVAudioPlayerNodeCompletionCallbackType
impl AVAudioPlayerNodeCompletionCallbackType
pub const DataConsumed: Self
pub const DataRendered: Self
pub const DataPlayedBack: Self
Trait Implementations§
Source§impl Clone for AVAudioPlayerNodeCompletionCallbackType
impl Clone for AVAudioPlayerNodeCompletionCallbackType
Source§fn clone(&self) -> AVAudioPlayerNodeCompletionCallbackType
fn clone(&self) -> AVAudioPlayerNodeCompletionCallbackType
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 Ord for AVAudioPlayerNodeCompletionCallbackType
impl Ord for AVAudioPlayerNodeCompletionCallbackType
Source§fn cmp(&self, other: &AVAudioPlayerNodeCompletionCallbackType) -> Ordering
fn cmp(&self, other: &AVAudioPlayerNodeCompletionCallbackType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AVAudioPlayerNodeCompletionCallbackType
impl PartialEq for AVAudioPlayerNodeCompletionCallbackType
Source§fn eq(&self, other: &AVAudioPlayerNodeCompletionCallbackType) -> bool
fn eq(&self, other: &AVAudioPlayerNodeCompletionCallbackType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AVAudioPlayerNodeCompletionCallbackType
impl PartialOrd for AVAudioPlayerNodeCompletionCallbackType
Source§impl RefEncode for AVAudioPlayerNodeCompletionCallbackType
impl RefEncode for AVAudioPlayerNodeCompletionCallbackType
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 AVAudioPlayerNodeCompletionCallbackType
impl Eq for AVAudioPlayerNodeCompletionCallbackType
impl StructuralPartialEq for AVAudioPlayerNodeCompletionCallbackType
Auto Trait Implementations§
impl Freeze for AVAudioPlayerNodeCompletionCallbackType
impl RefUnwindSafe for AVAudioPlayerNodeCompletionCallbackType
impl Send for AVAudioPlayerNodeCompletionCallbackType
impl Sync for AVAudioPlayerNodeCompletionCallbackType
impl Unpin for AVAudioPlayerNodeCompletionCallbackType
impl UnwindSafe for AVAudioPlayerNodeCompletionCallbackType
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.