pub struct NativeFrameHdrMetadata {
pub kind: String,
pub mastering_display: Option<NativeFrameMasteringDisplayMetadata>,
pub content_light: Option<NativeFrameContentLightMetadata>,
pub dolby_vision: Option<NativeFrameDolbyVisionMetadata>,
}Expand description
Structured HDR metadata attached to tracks and native frames.
Fields§
§kind: String§mastering_display: Option<NativeFrameMasteringDisplayMetadata>§content_light: Option<NativeFrameContentLightMetadata>§dolby_vision: Option<NativeFrameDolbyVisionMetadata>Implementations§
Source§impl NativeFrameHdrMetadata
impl NativeFrameHdrMetadata
Sourcepub fn is_dolby_vision(&self) -> bool
pub fn is_dolby_vision(&self) -> bool
Returns whether the metadata describes Dolby Vision.
Trait Implementations§
Source§impl Clone for NativeFrameHdrMetadata
impl Clone for NativeFrameHdrMetadata
Source§fn clone(&self) -> NativeFrameHdrMetadata
fn clone(&self) -> NativeFrameHdrMetadata
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 Debug for NativeFrameHdrMetadata
impl Debug for NativeFrameHdrMetadata
Source§impl<'de> Deserialize<'de> for NativeFrameHdrMetadata
impl<'de> Deserialize<'de> for NativeFrameHdrMetadata
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
impl Eq for NativeFrameHdrMetadata
Source§impl PartialEq for NativeFrameHdrMetadata
impl PartialEq for NativeFrameHdrMetadata
Source§impl Serialize for NativeFrameHdrMetadata
impl Serialize for NativeFrameHdrMetadata
impl StructuralPartialEq for NativeFrameHdrMetadata
Auto Trait Implementations§
impl Freeze for NativeFrameHdrMetadata
impl RefUnwindSafe for NativeFrameHdrMetadata
impl Send for NativeFrameHdrMetadata
impl Sync for NativeFrameHdrMetadata
impl Unpin for NativeFrameHdrMetadata
impl UnsafeUnpin for NativeFrameHdrMetadata
impl UnwindSafe for NativeFrameHdrMetadata
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