Struct cint::CieXYZ [−][src]
#[repr(C)]pub struct CieXYZ<ComponentTy> { pub x: ComponentTy, pub y: ComponentTy, pub z: ComponentTy, }
Expand description
A color in the CIE XYZ color space.
This color space uses the CIE XYZ primaries and D65 white point.
Fields
x: ComponentTyExpand description
The X component.
y: ComponentTyExpand description
The Y component.
z: ComponentTyExpand description
The Z component.
Trait Implementations
impl<ComponentTy> From<ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>> for CieXYZ<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>> for CieXYZ<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
) -> CieXYZ<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
) -> CieXYZ<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>> for CieXYZ<ComponentTy>[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>> for CieXYZ<ComponentTy>[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
) -> CieXYZ<ComponentTy>[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
) -> CieXYZ<ComponentTy>[src]Performs the conversion.
impl<ComponentTy: Ord> Ord for CieXYZ<ComponentTy>[src]
impl<ComponentTy: Ord> Ord for CieXYZ<ComponentTy>[src]impl<ComponentTy: PartialOrd> PartialOrd<CieXYZ<ComponentTy>> for CieXYZ<ComponentTy>[src]
impl<ComponentTy: PartialOrd> PartialOrd<CieXYZ<ComponentTy>> for CieXYZ<ComponentTy>[src]fn partial_cmp(&self, other: &CieXYZ<ComponentTy>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &CieXYZ<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 CieXYZ<ComponentTy>[src]
impl<ComponentTy: Eq> Eq for CieXYZ<ComponentTy>[src]
impl<ComponentTy: Pod> Pod for CieXYZ<ComponentTy>[src]
impl<ComponentTy> StructuralEq for CieXYZ<ComponentTy>[src]
impl<ComponentTy> StructuralPartialEq for CieXYZ<ComponentTy>[src]
Auto Trait Implementations
impl<ComponentTy> Send for CieXYZ<ComponentTy> where
ComponentTy: Send,
ComponentTy: Send,
impl<ComponentTy> Sync for CieXYZ<ComponentTy> where
ComponentTy: Sync,
ComponentTy: Sync,
impl<ComponentTy> Unpin for CieXYZ<ComponentTy> where
ComponentTy: Unpin,
ComponentTy: Unpin,