pub type LinDciP3<T = f32> = Rgb<Linear<DciP3>, T>;Expand description
Aliased Type§
#[repr(C)]pub struct LinDciP3<T = f32> {
pub red: T,
pub green: T,
pub blue: T,
pub standard: PhantomData<Linear<DciP3>>,
}Fields§
§red: TThe amount of red light, where 0.0 is no red light and 1.0 (or 255u8) is the highest displayable amount.
green: TThe amount of green light, where 0.0 is no green light and 1.0 (or 255u8) is the highest displayable amount.
blue: TThe amount of blue light, where 0.0 is no blue light and 1.0 (or 255u8) is the highest displayable amount.
standard: PhantomData<Linear<DciP3>>The kind of RGB standard. sRGB is the default.