pub struct MasteringDisplay {
pub display_primaries: [Chromaticity; 3],
pub white_point: Chromaticity,
pub max_luminance: f32,
pub min_luminance: f32,
}Expand description
The SMPTE ST 2086 mastering display colour volume: the primaries and white point of the display the content was graded on, and its luminance range in cd/m^2.
Fields§
§display_primaries: [Chromaticity; 3]Display primaries in R, G, B order (the SEI codes them G, B, R).
white_point: Chromaticity§max_luminance: f32§min_luminance: f32Trait 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 moreimpl Copy for MasteringDisplay
Source§impl Debug for MasteringDisplay
impl Debug for MasteringDisplay
Source§impl PartialEq for MasteringDisplay
impl PartialEq for MasteringDisplay
impl StructuralPartialEq for MasteringDisplay
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