Struct ColorPrimaries
pub struct ColorPrimaries { pub red: SingleColorPrimary, pub green: SingleColorPrimary, pub blue: SingleColorPrimary, pub white_point: SingleColorPrimary }
A collection of red,green and blue color primaries placed in one struct for easy manipulation
Fields
red: SingleColorPrimaryRed color primaries
green: SingleColorPrimaryGreen color primaries
blue: SingleColorPrimaryBlue color primaries
white_point: SingleColorPrimary
Trait Implementations
impl Clone for ColorPrimaries
fn clone(&self) -> Self
impl Copy for ColorPrimaries
impl Debug for ColorPrimaries
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for ColorPrimaries
fn default() -> Self