pub struct PlayerVideoOutputConfiguration {
pub has_source_player_item: bool,
pub data_channel_descriptions: Vec<Vec<String>>,
pub preferred_transform: Option<AffineTransform>,
pub activation_time: Time,
}Expand description
Re-exports the AVPlayer framework surface for this item.
Mirrors the AVPlayer framework counterpart for PlayerVideoOutputConfiguration.
Fields§
§has_source_player_item: boolMirrors the AVPlayer framework property for has_source_player_item.
data_channel_descriptions: Vec<Vec<String>>Mirrors the AVPlayer framework property for data_channel_descriptions.
preferred_transform: Option<AffineTransform>Mirrors the AVPlayer framework property for preferred_transform.
activation_time: TimeMirrors the AVPlayer framework property for activation_time.
Trait Implementations§
Source§impl Clone for PlayerVideoOutputConfiguration
impl Clone for PlayerVideoOutputConfiguration
Source§fn clone(&self) -> PlayerVideoOutputConfiguration
fn clone(&self) -> PlayerVideoOutputConfiguration
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<'de> Deserialize<'de> for PlayerVideoOutputConfiguration
impl<'de> Deserialize<'de> for PlayerVideoOutputConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlayerVideoOutputConfiguration
impl PartialEq for PlayerVideoOutputConfiguration
Source§fn eq(&self, other: &PlayerVideoOutputConfiguration) -> bool
fn eq(&self, other: &PlayerVideoOutputConfiguration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlayerVideoOutputConfiguration
Auto Trait Implementations§
impl Freeze for PlayerVideoOutputConfiguration
impl RefUnwindSafe for PlayerVideoOutputConfiguration
impl Send for PlayerVideoOutputConfiguration
impl Sync for PlayerVideoOutputConfiguration
impl Unpin for PlayerVideoOutputConfiguration
impl UnsafeUnpin for PlayerVideoOutputConfiguration
impl UnwindSafe for PlayerVideoOutputConfiguration
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