#[non_exhaustive]pub enum PlayerAudiovisualBackgroundPlaybackPolicy {
Automatic,
Pauses,
ContinuesIfPossible,
Unknown(i32),
}Expand description
Re-exports the AVPlayer framework surface for this item.
Mirrors the AVPlayer framework counterpart for PlayerAudiovisualBackgroundPlaybackPolicy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Automatic
Mirrors the AVPlayer framework case Automatic.
Pauses
Mirrors the AVPlayer framework case Pauses.
ContinuesIfPossible
Mirrors the AVPlayer framework case ContinuesIfPossible.
Unknown(i32)
Mirrors the AVPlayer framework case Unknown.
Trait Implementations§
Source§impl Clone for PlayerAudiovisualBackgroundPlaybackPolicy
impl Clone for PlayerAudiovisualBackgroundPlaybackPolicy
Source§fn clone(&self) -> PlayerAudiovisualBackgroundPlaybackPolicy
fn clone(&self) -> PlayerAudiovisualBackgroundPlaybackPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for PlayerAudiovisualBackgroundPlaybackPolicy
impl PartialEq for PlayerAudiovisualBackgroundPlaybackPolicy
Source§fn eq(&self, other: &PlayerAudiovisualBackgroundPlaybackPolicy) -> bool
fn eq(&self, other: &PlayerAudiovisualBackgroundPlaybackPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PlayerAudiovisualBackgroundPlaybackPolicy
impl Eq for PlayerAudiovisualBackgroundPlaybackPolicy
impl StructuralPartialEq for PlayerAudiovisualBackgroundPlaybackPolicy
Auto Trait Implementations§
impl Freeze for PlayerAudiovisualBackgroundPlaybackPolicy
impl RefUnwindSafe for PlayerAudiovisualBackgroundPlaybackPolicy
impl Send for PlayerAudiovisualBackgroundPlaybackPolicy
impl Sync for PlayerAudiovisualBackgroundPlaybackPolicy
impl Unpin for PlayerAudiovisualBackgroundPlaybackPolicy
impl UnsafeUnpin for PlayerAudiovisualBackgroundPlaybackPolicy
impl UnwindSafe for PlayerAudiovisualBackgroundPlaybackPolicy
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