#[non_exhaustive]pub struct HdrDynamicMetadataDescriptor {
pub application_type: u8,
pub application_version: u8,
}Expand description
One entry from an HDR Dynamic Metadata Data Block (extended tag 0x07).
Each descriptor identifies the HDR dynamic metadata technology supported (e.g. HDR10+ / SMPTE ST 2094, or Dolby Vision).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.application_type: u8Application type identifier (bits 5–0 of the descriptor byte).
1 = SMPTE ST 2094 (HDR10+); 2 = Dolby Vision.
application_version: u8Application metadata version (bits 7–6 of the descriptor byte).
Implementations§
Trait Implementations§
Source§impl Clone for HdrDynamicMetadataDescriptor
impl Clone for HdrDynamicMetadataDescriptor
Source§fn clone(&self) -> HdrDynamicMetadataDescriptor
fn clone(&self) -> HdrDynamicMetadataDescriptor
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 HdrDynamicMetadataDescriptor
impl Debug for HdrDynamicMetadataDescriptor
Source§impl PartialEq for HdrDynamicMetadataDescriptor
impl PartialEq for HdrDynamicMetadataDescriptor
Source§fn eq(&self, other: &HdrDynamicMetadataDescriptor) -> bool
fn eq(&self, other: &HdrDynamicMetadataDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HdrDynamicMetadataDescriptor
impl Eq for HdrDynamicMetadataDescriptor
impl StructuralPartialEq for HdrDynamicMetadataDescriptor
Auto Trait Implementations§
impl Freeze for HdrDynamicMetadataDescriptor
impl RefUnwindSafe for HdrDynamicMetadataDescriptor
impl Send for HdrDynamicMetadataDescriptor
impl Sync for HdrDynamicMetadataDescriptor
impl Unpin for HdrDynamicMetadataDescriptor
impl UnsafeUnpin for HdrDynamicMetadataDescriptor
impl UnwindSafe for HdrDynamicMetadataDescriptor
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