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