Struct cint::AcesCct [−][src]
#[repr(C)]pub struct AcesCct<ComponentTy> { pub r: ComponentTy, pub g: ComponentTy, pub b: ComponentTy, }
Expand description
A color in the ACEScct color space.
This color space uses the ACES AP1 primaries and D60 white point and a logarithmic transfer function with a toe such that values are able to go negative.
Fields
r: ComponentTyExpand description
The red component.
g: ComponentTyExpand description
The green component.
b: ComponentTyExpand description
The blue component.
Trait Implementations
impl<ComponentTy> From<ColorAlpha<ComponentTy, AcesCct<ComponentTy>>> for AcesCct<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, AcesCct<ComponentTy>>> for AcesCct<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, AcesCct<ComponentTy>>
) -> AcesCct<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, AcesCct<ComponentTy>>
) -> AcesCct<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>> for AcesCct<ComponentTy>[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>> for AcesCct<ComponentTy>[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
) -> AcesCct<ComponentTy>[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
) -> AcesCct<ComponentTy>[src]Performs the conversion.
impl<ComponentTy: Ord> Ord for AcesCct<ComponentTy>[src]
impl<ComponentTy: Ord> Ord for AcesCct<ComponentTy>[src]impl<ComponentTy: PartialOrd> PartialOrd<AcesCct<ComponentTy>> for AcesCct<ComponentTy>[src]
impl<ComponentTy: PartialOrd> PartialOrd<AcesCct<ComponentTy>> for AcesCct<ComponentTy>[src]fn partial_cmp(&self, other: &AcesCct<ComponentTy>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &AcesCct<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 AcesCct<ComponentTy>[src]
impl<ComponentTy: Eq> Eq for AcesCct<ComponentTy>[src]
impl<ComponentTy: Pod> Pod for AcesCct<ComponentTy>[src]
impl<ComponentTy> StructuralEq for AcesCct<ComponentTy>[src]
impl<ComponentTy> StructuralPartialEq for AcesCct<ComponentTy>[src]
Auto Trait Implementations
impl<ComponentTy> Send for AcesCct<ComponentTy> where
ComponentTy: Send,
ComponentTy: Send,
impl<ComponentTy> Sync for AcesCct<ComponentTy> where
ComponentTy: Sync,
ComponentTy: Sync,
impl<ComponentTy> Unpin for AcesCct<ComponentTy> where
ComponentTy: Unpin,
ComponentTy: Unpin,