Struct cint::AcesCg [−][src]
#[repr(C)]pub struct AcesCg<ComponentTy> { pub r: ComponentTy, pub g: ComponentTy, pub b: ComponentTy, }
Expand description
A color in the ACEScg color space.
This color space uses the ACES AP1 primaries and D60 white point.
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, AcesCg<ComponentTy>>> for AcesCg<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, AcesCg<ComponentTy>>> for AcesCg<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, AcesCg<ComponentTy>>
) -> AcesCg<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, AcesCg<ComponentTy>>
) -> AcesCg<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>> for AcesCg<ComponentTy>[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>> for AcesCg<ComponentTy>[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>
) -> AcesCg<ComponentTy>[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>
) -> AcesCg<ComponentTy>[src]Performs the conversion.
impl<ComponentTy: Ord> Ord for AcesCg<ComponentTy>[src]
impl<ComponentTy: Ord> Ord for AcesCg<ComponentTy>[src]impl<ComponentTy: PartialOrd> PartialOrd<AcesCg<ComponentTy>> for AcesCg<ComponentTy>[src]
impl<ComponentTy: PartialOrd> PartialOrd<AcesCg<ComponentTy>> for AcesCg<ComponentTy>[src]fn partial_cmp(&self, other: &AcesCg<ComponentTy>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &AcesCg<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 AcesCg<ComponentTy>[src]
impl<ComponentTy: Eq> Eq for AcesCg<ComponentTy>[src]
impl<ComponentTy: Pod> Pod for AcesCg<ComponentTy>[src]
impl<ComponentTy> StructuralEq for AcesCg<ComponentTy>[src]
impl<ComponentTy> StructuralPartialEq for AcesCg<ComponentTy>[src]
Auto Trait Implementations
impl<ComponentTy> Send for AcesCg<ComponentTy> where
ComponentTy: Send,
ComponentTy: Send,
impl<ComponentTy> Sync for AcesCg<ComponentTy> where
ComponentTy: Sync,
ComponentTy: Sync,
impl<ComponentTy> Unpin for AcesCg<ComponentTy> where
ComponentTy: Unpin,
ComponentTy: Unpin,