pub struct MasteringDisplay {
pub primaries: Option<[(f64, f64); 3]>,
pub white_point: Option<(f64, f64)>,
pub luminance: Option<(f64, f64)>,
}Expand description
SMPTE ST 2086 mastering display metadata.
Fields§
§primaries: Option<[(f64, f64); 3]>Display primaries as CIE 1931 chromaticity coordinates (x, y) in the order: Green, Blue, Red.
white_point: Option<(f64, f64)>White point as CIE 1931 chromaticity (x, y).
luminance: Option<(f64, f64)>Min/max luminance in cd/m² (nits).
Trait Implementations§
Source§impl Clone for MasteringDisplay
impl Clone for MasteringDisplay
Source§fn clone(&self) -> MasteringDisplay
fn clone(&self) -> MasteringDisplay
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 MasteringDisplay
impl Debug for MasteringDisplay
Source§impl<'de> Deserialize<'de> for MasteringDisplay
impl<'de> Deserialize<'de> for MasteringDisplay
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
Auto Trait Implementations§
impl Freeze for MasteringDisplay
impl RefUnwindSafe for MasteringDisplay
impl Send for MasteringDisplay
impl Sync for MasteringDisplay
impl Unpin for MasteringDisplay
impl UnsafeUnpin for MasteringDisplay
impl UnwindSafe for MasteringDisplay
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