pub struct NativeFrameMasteringDisplayMetadata {
pub display_primaries: Option<String>,
pub white_point: Option<String>,
pub max_luminance_nits: Option<u32>,
pub min_luminance_nits: Option<u32>,
}Expand description
Mastering display metadata carried by HDR10-style streams.
Fields§
§display_primaries: Option<String>§white_point: Option<String>§max_luminance_nits: Option<u32>§min_luminance_nits: Option<u32>Trait Implementations§
Source§impl Clone for NativeFrameMasteringDisplayMetadata
impl Clone for NativeFrameMasteringDisplayMetadata
Source§fn clone(&self) -> NativeFrameMasteringDisplayMetadata
fn clone(&self) -> NativeFrameMasteringDisplayMetadata
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 NativeFrameMasteringDisplayMetadata
impl<'de> Deserialize<'de> for NativeFrameMasteringDisplayMetadata
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 NativeFrameMasteringDisplayMetadata
impl StructuralPartialEq for NativeFrameMasteringDisplayMetadata
Auto Trait Implementations§
impl Freeze for NativeFrameMasteringDisplayMetadata
impl RefUnwindSafe for NativeFrameMasteringDisplayMetadata
impl Send for NativeFrameMasteringDisplayMetadata
impl Sync for NativeFrameMasteringDisplayMetadata
impl Unpin for NativeFrameMasteringDisplayMetadata
impl UnsafeUnpin for NativeFrameMasteringDisplayMetadata
impl UnwindSafe for NativeFrameMasteringDisplayMetadata
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