Struct png::common::MasteringDisplayColorVolume
source · pub struct MasteringDisplayColorVolume {
pub chromaticities: SourceChromaticities,
pub max_luminance: u32,
pub min_luminance: u32,
}
Expand description
Mastering Display Color Volume (mDCV) used at the point of content creation, as specified in SMPTE-ST-2086.
See https://www.w3.org/TR/png-3/#mDCV-chunk for more details.
Fields§
§chromaticities: SourceChromaticities
Mastering display chromaticities.
max_luminance: u32
Mastering display maximum luminance.
The value is expressed in units of 0.0001 cd/m^2 - for example if this field
is set to 10000000
then it indicates 1000 cd/m^2.
min_luminance: u32
Mastering display minimum luminance.
The value is expressed in units of 0.0001 cd/m^2 - for example if this field
is set to 10000000
then it indicates 1000 cd/m^2.
Trait Implementations§
source§impl Clone for MasteringDisplayColorVolume
impl Clone for MasteringDisplayColorVolume
source§fn clone(&self) -> MasteringDisplayColorVolume
fn clone(&self) -> MasteringDisplayColorVolume
Returns a copy 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 MasteringDisplayColorVolume
impl Debug for MasteringDisplayColorVolume
impl Copy for MasteringDisplayColorVolume
impl Eq for MasteringDisplayColorVolume
impl StructuralPartialEq for MasteringDisplayColorVolume
Auto Trait Implementations§
impl Freeze for MasteringDisplayColorVolume
impl RefUnwindSafe for MasteringDisplayColorVolume
impl Send for MasteringDisplayColorVolume
impl Sync for MasteringDisplayColorVolume
impl Unpin for MasteringDisplayColorVolume
impl UnwindSafe for MasteringDisplayColorVolume
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)