Struct cint::ICtCpHLG [−][src]
#[repr(C)]pub struct ICtCpHLG<ComponentTy> { pub i: ComponentTy, pub ct: ComponentTy, pub cp: ComponentTy, }
Expand description
A color in the ICtCp color space with HLG (Hybrid Log-Gamma) 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, ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>[src]Performs the conversion.
impl<ComponentTy: Ord> Ord for ICtCpHLG<ComponentTy>[src]
impl<ComponentTy: Ord> Ord for ICtCpHLG<ComponentTy>[src]impl<ComponentTy: PartialOrd> PartialOrd<ICtCpHLG<ComponentTy>> for ICtCpHLG<ComponentTy>[src]
impl<ComponentTy: PartialOrd> PartialOrd<ICtCpHLG<ComponentTy>> for ICtCpHLG<ComponentTy>[src]fn partial_cmp(&self, other: &ICtCpHLG<ComponentTy>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &ICtCpHLG<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 ICtCpHLG<ComponentTy>[src]
impl<ComponentTy: Eq> Eq for ICtCpHLG<ComponentTy>[src]
impl<ComponentTy: Pod> Pod for ICtCpHLG<ComponentTy>[src]
impl<ComponentTy> StructuralEq for ICtCpHLG<ComponentTy>[src]
impl<ComponentTy> StructuralPartialEq for ICtCpHLG<ComponentTy>[src]
Auto Trait Implementations
impl<ComponentTy> Send for ICtCpHLG<ComponentTy> where
ComponentTy: Send,
ComponentTy: Send,
impl<ComponentTy> Sync for ICtCpHLG<ComponentTy> where
ComponentTy: Sync,
ComponentTy: Sync,
impl<ComponentTy> Unpin for ICtCpHLG<ComponentTy> where
ComponentTy: Unpin,
ComponentTy: Unpin,