pub struct Hdr10Metadata {
pub mastering_display: Option<MasteringDisplay>,
pub max_cll: Option<u32>,
pub max_fall: Option<u32>,
}Expand description
HDR10 static metadata extracted from a source’s first video frame.
Fields§
§mastering_display: Option<MasteringDisplay>Mastering-display colour volume, when present.
max_cll: Option<u32>Maximum content light level (MaxCLL), in cd/m².
max_fall: Option<u32>Maximum frame-average light level (MaxFALL), in cd/m².
Implementations§
Trait Implementations§
Source§impl Clone for Hdr10Metadata
impl Clone for Hdr10Metadata
Source§fn clone(&self) -> Hdr10Metadata
fn clone(&self) -> Hdr10Metadata
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 Hdr10Metadata
impl Debug for Hdr10Metadata
Source§impl Default for Hdr10Metadata
impl Default for Hdr10Metadata
Source§fn default() -> Hdr10Metadata
fn default() -> Hdr10Metadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Hdr10Metadata
impl<'de> Deserialize<'de> for Hdr10Metadata
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 Hdr10Metadata
Source§impl PartialEq for Hdr10Metadata
impl PartialEq for Hdr10Metadata
Source§fn eq(&self, other: &Hdr10Metadata) -> bool
fn eq(&self, other: &Hdr10Metadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Hdr10Metadata
impl Serialize for Hdr10Metadata
impl StructuralPartialEq for Hdr10Metadata
Auto Trait Implementations§
impl Freeze for Hdr10Metadata
impl RefUnwindSafe for Hdr10Metadata
impl Send for Hdr10Metadata
impl Sync for Hdr10Metadata
impl Unpin for Hdr10Metadata
impl UnsafeUnpin for Hdr10Metadata
impl UnwindSafe for Hdr10Metadata
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