pub struct MasteringMetadata {
pub crc32: Option<Crc32>,
pub void: Option<Void>,
pub primary_r_chromaticity_x: Option<PrimaryRChromaticityX>,
pub primary_r_chromaticity_y: Option<PrimaryRChromaticityY>,
pub primary_g_chromaticity_x: Option<PrimaryGChromaticityX>,
pub primary_g_chromaticity_y: Option<PrimaryGChromaticityY>,
pub primary_b_chromaticity_x: Option<PrimaryBChromaticityX>,
pub primary_b_chromaticity_y: Option<PrimaryBChromaticityY>,
pub white_point_chromaticity_x: Option<WhitePointChromaticityX>,
pub white_point_chromaticity_y: Option<WhitePointChromaticityY>,
pub luminance_max: Option<LuminanceMax>,
pub luminance_min: Option<LuminanceMin>,
}Expand description
SMPTE 2086 mastering data.
Fields§
§crc32: Option<Crc32>Optional CRC-32 element for integrity checking.
void: Option<Void>void element, useful for reserving space during writing.
primary_r_chromaticity_x: Option<PrimaryRChromaticityX>Red X chromaticity coordinate, as defined by [@!CIE-1931].
primary_r_chromaticity_y: Option<PrimaryRChromaticityY>Red Y chromaticity coordinate, as defined by [@!CIE-1931].
primary_g_chromaticity_x: Option<PrimaryGChromaticityX>Green X chromaticity coordinate, as defined by [@!CIE-1931].
primary_g_chromaticity_y: Option<PrimaryGChromaticityY>Green Y chromaticity coordinate, as defined by [@!CIE-1931].
primary_b_chromaticity_x: Option<PrimaryBChromaticityX>Blue X chromaticity coordinate, as defined by [@!CIE-1931].
primary_b_chromaticity_y: Option<PrimaryBChromaticityY>Blue Y chromaticity coordinate, as defined by [@!CIE-1931].
white_point_chromaticity_x: Option<WhitePointChromaticityX>White point X chromaticity coordinate, as defined by [@!CIE-1931].
white_point_chromaticity_y: Option<WhitePointChromaticityY>White point Y chromaticity coordinate, as defined by [@!CIE-1931].
luminance_max: Option<LuminanceMax>Maximum luminance. Represented in candelas per square meter (cd/m^2^).
luminance_min: Option<LuminanceMin>Minimum luminance. Represented in candelas per square meter (cd/m^2^).
Trait Implementations§
Source§impl Clone for MasteringMetadata
impl Clone for MasteringMetadata
Source§fn clone(&self) -> MasteringMetadata
fn clone(&self) -> MasteringMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MasteringMetadata
impl Debug for MasteringMetadata
Source§impl Default for MasteringMetadata
impl Default for MasteringMetadata
Source§fn default() -> MasteringMetadata
fn default() -> MasteringMetadata
Source§impl Element for MasteringMetadata
impl Element for MasteringMetadata
Source§fn decode_body(buf: &mut &[u8]) -> Result<Self>
fn decode_body(buf: &mut &[u8]) -> Result<Self>
Source§fn encode_body<B: BufMut>(&self, buf: &mut B) -> Result<()>
fn encode_body<B: BufMut>(&self, buf: &mut B) -> Result<()>
Source§const HAS_DEFAULT_VALUE: bool = false
const HAS_DEFAULT_VALUE: bool = false
Source§impl PartialEq for MasteringMetadata
impl PartialEq for MasteringMetadata
impl StructuralPartialEq for MasteringMetadata
Auto Trait Implementations§
impl Freeze for MasteringMetadata
impl RefUnwindSafe for MasteringMetadata
impl Send for MasteringMetadata
impl Sync for MasteringMetadata
impl Unpin for MasteringMetadata
impl UnwindSafe for MasteringMetadata
Blanket Implementations§
Source§impl<T> AsyncReadElement for Twhere
T: Element,
impl<T> AsyncReadElement for Twhere
T: Element,
Source§impl<T> AsyncReadFrom for Twhere
T: Element,
impl<T> AsyncReadFrom for Twhere
T: Element,
Source§impl<T> AsyncWriteTo for Twhere
T: Encode,
impl<T> AsyncWriteTo for Twhere
T: Encode,
Source§async fn async_write_to<W>(&self, w: &mut W) -> Result<(), Error>where
W: AsyncWrite + Unpin,
async fn async_write_to<W>(&self, w: &mut W) -> Result<(), Error>where
W: AsyncWrite + Unpin,
tokio only.