#[repr(transparent)]pub struct PHASEAssetType(pub NSInteger);Available on crate feature
PHASETypes only.Expand description
Asset types.
Determines how assets are loaded into memory and prepared for playback. ‘Preparing’ an asset for playback may include decompression and/or format conversion, depending on the type of the underlying asset data.
If the asset is on disk, it is loaded into memory and prepared for playback. If the asset is in memory, it is prepared for playback.
If the asset is on disk, it is streamed from disk into memory and prepared during playback. If the asset is in memory, it is streamed from memory and prepared during playback.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for PHASEAssetType
impl Clone for PHASEAssetType
Source§fn clone(&self) -> PHASEAssetType
fn clone(&self) -> PHASEAssetType
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 PHASEAssetType
impl Debug for PHASEAssetType
Source§impl Encode for PHASEAssetType
impl Encode for PHASEAssetType
Source§impl Hash for PHASEAssetType
impl Hash for PHASEAssetType
Source§impl Ord for PHASEAssetType
impl Ord for PHASEAssetType
Source§fn cmp(&self, other: &PHASEAssetType) -> Ordering
fn cmp(&self, other: &PHASEAssetType) -> 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 PHASEAssetType
impl PartialEq for PHASEAssetType
Source§impl PartialOrd for PHASEAssetType
impl PartialOrd for PHASEAssetType
Source§impl RefEncode for PHASEAssetType
impl RefEncode for PHASEAssetType
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 PHASEAssetType
impl Eq for PHASEAssetType
impl StructuralPartialEq for PHASEAssetType
Auto Trait Implementations§
impl Freeze for PHASEAssetType
impl RefUnwindSafe for PHASEAssetType
impl Send for PHASEAssetType
impl Sync for PHASEAssetType
impl Unpin for PHASEAssetType
impl UnwindSafe for PHASEAssetType
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.