Struct SourceChromaticities
pub struct SourceChromaticities { pub white: (ScaledFloat, ScaledFloat), pub red: (ScaledFloat, ScaledFloat), pub green: (ScaledFloat, ScaledFloat), pub blue: (ScaledFloat, ScaledFloat) }
Chromaticities of the color space primaries
Fields
white: (ScaledFloat, ScaledFloat)red: (ScaledFloat, ScaledFloat)green: (ScaledFloat, ScaledFloat)blue: (ScaledFloat, ScaledFloat)
Implementations
impl SourceChromaticities
fn new(white: (f32, f32), red: (f32, f32), green: (f32, f32), blue: (f32, f32)) -> Selffn to_be_bytes(self) -> [u8; 32]fn encode<W: Write>(self, w: &mut W) -> Result<(), EncodingError>
Trait Implementations
impl Clone for SourceChromaticities
fn clone(&self) -> Self
impl Copy for SourceChromaticities
impl Debug for SourceChromaticities
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for SourceChromaticities
impl PartialEq for SourceChromaticities
fn eq(&self, other: &Self) -> bool