#[repr(transparent)]pub struct PHASECullOption(pub NSInteger);Available on crate feature
PHASETypes only.Expand description
Cull option.
Determines what the engine should do when a sound asset becomes cullable.
If cullable, the sound asset will stop. Note that this can occur before or during playback.
If cullable, the sound asset will be put to sleep. Upon waking, start playback at the beginning.
If cullable, the sound asset will be put to sleep. Upon waking, start playback at random offset.
If cullable, the sound asset will be put to sleep. Upon waking, start playback at realtime offset.
If cullable, continue playback, even if the sound is inaudible.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl PHASECullOption
impl PHASECullOption
pub const Terminate: Self
pub const SleepWakeAtZero: Self
pub const SleepWakeAtRandomOffset: Self
pub const SleepWakeAtRealtimeOffset: Self
pub const DoNotCull: Self
Trait Implementations§
Source§impl Clone for PHASECullOption
impl Clone for PHASECullOption
Source§fn clone(&self) -> PHASECullOption
fn clone(&self) -> PHASECullOption
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 PHASECullOption
impl Debug for PHASECullOption
Source§impl Encode for PHASECullOption
impl Encode for PHASECullOption
Source§impl Hash for PHASECullOption
impl Hash for PHASECullOption
Source§impl Ord for PHASECullOption
impl Ord for PHASECullOption
Source§fn cmp(&self, other: &PHASECullOption) -> Ordering
fn cmp(&self, other: &PHASECullOption) -> 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 PHASECullOption
impl PartialEq for PHASECullOption
Source§impl PartialOrd for PHASECullOption
impl PartialOrd for PHASECullOption
Source§impl RefEncode for PHASECullOption
impl RefEncode for PHASECullOption
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 PHASECullOption
impl Eq for PHASECullOption
impl StructuralPartialEq for PHASECullOption
Auto Trait Implementations§
impl Freeze for PHASECullOption
impl RefUnwindSafe for PHASECullOption
impl Send for PHASECullOption
impl Sync for PHASECullOption
impl Unpin for PHASECullOption
impl UnwindSafe for PHASECullOption
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.