Struct cint::ICtCpPQ [−][src]
#[repr(C)]pub struct ICtCpPQ<ComponentTy> { pub i: ComponentTy, pub ct: ComponentTy, pub cp: ComponentTy, }
Expand description
A color in the ICtCp color space with PQ (Perceptual Quantizer) nonlinearity.
This color space is based on the BT.2020 primaries and D65 white point, but is not an RGB color space. Instead it is a roughly perceptual color space meant to more efficiently encode HDR content.
Fields
i: ComponentTyExpand description
The I (intensity) component.
ct: ComponentTyExpand description
The Ct (chroma-tritan) component.
cp: ComponentTyExpand description
The Cp (chroma-protan) component.
Trait Implementations
impl<ComponentTy> From<ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>[src]Performs the conversion.
impl<ComponentTy: Ord> Ord for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy: Ord> Ord for ICtCpPQ<ComponentTy>[src]impl<ComponentTy: PartialOrd> PartialOrd<ICtCpPQ<ComponentTy>> for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy: PartialOrd> PartialOrd<ICtCpPQ<ComponentTy>> for ICtCpPQ<ComponentTy>[src]fn partial_cmp(&self, other: &ICtCpPQ<ComponentTy>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &ICtCpPQ<ComponentTy>) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<ComponentTy: Copy> Copy for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy: Eq> Eq for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy: Pod> Pod for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy> StructuralEq for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy> StructuralPartialEq for ICtCpPQ<ComponentTy>[src]
Auto Trait Implementations
impl<ComponentTy> Send for ICtCpPQ<ComponentTy> where
ComponentTy: Send,
ComponentTy: Send,
impl<ComponentTy> Sync for ICtCpPQ<ComponentTy> where
ComponentTy: Sync,
ComponentTy: Sync,
impl<ComponentTy> Unpin for ICtCpPQ<ComponentTy> where
ComponentTy: Unpin,
ComponentTy: Unpin,