#[derive(Debug, Clone, Copy, PartialEq, Default)]
#[allow(
clippy::exhaustive_structs,
reason = "a value defined by its fields; there is nothing to add to it"
)]
pub struct Chromaticity {
pub x: f32,
pub y: f32,
}
#[derive(Debug, Clone, Copy, PartialEq, Default)]
#[allow(
clippy::exhaustive_structs,
reason = "built by callers with `..Default::default()`, which a new field does not break"
)]
pub struct ColorimetryInfo {
pub red: Chromaticity,
pub green: Chromaticity,
pub blue: Chromaticity,
pub white: Chromaticity,
pub has_primaries: bool,
pub has_default_white: bool,
}