#[repr(transparent)]pub struct AVPlayerItemStatus(pub NSInteger);Available on crate feature
AVPlayerItem only.Expand description
These constants are returned by the AVPlayerItem status property to indicate whether it can successfully be played.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVPlayerItemStatus
impl AVPlayerItemStatus
Sourcepub const Unknown: Self
pub const Unknown: Self
Indicates that the status of the player item is not yet known because it has not tried to load new media resources for playback.
Sourcepub const ReadyToPlay: Self
pub const ReadyToPlay: Self
Indicates that the player item is ready to be played.
Trait Implementations§
Source§impl Clone for AVPlayerItemStatus
impl Clone for AVPlayerItemStatus
Source§fn clone(&self) -> AVPlayerItemStatus
fn clone(&self) -> AVPlayerItemStatus
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 AVPlayerItemStatus
impl Debug for AVPlayerItemStatus
Source§impl Encode for AVPlayerItemStatus
impl Encode for AVPlayerItemStatus
Source§impl Hash for AVPlayerItemStatus
impl Hash for AVPlayerItemStatus
Source§impl Ord for AVPlayerItemStatus
impl Ord for AVPlayerItemStatus
Source§fn cmp(&self, other: &AVPlayerItemStatus) -> Ordering
fn cmp(&self, other: &AVPlayerItemStatus) -> 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 AVPlayerItemStatus
impl PartialEq for AVPlayerItemStatus
Source§impl PartialOrd for AVPlayerItemStatus
impl PartialOrd for AVPlayerItemStatus
Source§impl RefEncode for AVPlayerItemStatus
impl RefEncode for AVPlayerItemStatus
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 AVPlayerItemStatus
impl Eq for AVPlayerItemStatus
impl StructuralPartialEq for AVPlayerItemStatus
Auto Trait Implementations§
impl Freeze for AVPlayerItemStatus
impl RefUnwindSafe for AVPlayerItemStatus
impl Send for AVPlayerItemStatus
impl Sync for AVPlayerItemStatus
impl Unpin for AVPlayerItemStatus
impl UnwindSafe for AVPlayerItemStatus
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.