Struct cint::CieXYZA [−][src]
#[repr(C)]pub struct CieXYZA<ComponentTy, AlphaState> { pub x: ComponentTy, pub y: ComponentTy, pub z: ComponentTy, pub alpha: ComponentTy, // some fields omitted }
Expand description
A color in the CIE XYZ color space.
This color space uses the CIE XYZ primaries and D65 white point.
This is type has an alpha channel, and so is paramaterized by both
a ComponentTy, as with any color type, but also an AlphaState,
which symbolizes whether the other color components have been
Premultiplied with the alpha channel or are Separate from it.
Fields
x: ComponentTyExpand description
The X component.
y: ComponentTyExpand description
The Y component.
z: ComponentTyExpand description
The Z component.
alpha: ComponentTyExpand description
The alpha component.
Trait Implementations
impl<ComponentTy: Ord, AlphaState: Ord> Ord for CieXYZA<ComponentTy, AlphaState>[src]
impl<ComponentTy: Ord, AlphaState: Ord> Ord for CieXYZA<ComponentTy, AlphaState>[src]impl<ComponentTy: PartialEq, AlphaState: PartialEq> PartialEq<CieXYZA<ComponentTy, AlphaState>> for CieXYZA<ComponentTy, AlphaState>[src]
impl<ComponentTy: PartialEq, AlphaState: PartialEq> PartialEq<CieXYZA<ComponentTy, AlphaState>> for CieXYZA<ComponentTy, AlphaState>[src]impl<ComponentTy: PartialOrd, AlphaState: PartialOrd> PartialOrd<CieXYZA<ComponentTy, AlphaState>> for CieXYZA<ComponentTy, AlphaState>[src]
impl<ComponentTy: PartialOrd, AlphaState: PartialOrd> PartialOrd<CieXYZA<ComponentTy, AlphaState>> for CieXYZA<ComponentTy, AlphaState>[src]fn partial_cmp(
&self,
other: &CieXYZA<ComponentTy, AlphaState>
) -> Option<Ordering>[src]
fn partial_cmp(
&self,
other: &CieXYZA<ComponentTy, AlphaState>
) -> 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, AlphaState: Copy> Copy for CieXYZA<ComponentTy, AlphaState>[src]
impl<ComponentTy: Eq, AlphaState: Eq> Eq for CieXYZA<ComponentTy, AlphaState>[src]
impl<ComponentTy: Pod, AlphaState: Copy + 'static> Pod for CieXYZA<ComponentTy, AlphaState>[src]
impl<ComponentTy, AlphaState> StructuralEq for CieXYZA<ComponentTy, AlphaState>[src]
impl<ComponentTy, AlphaState> StructuralPartialEq for CieXYZA<ComponentTy, AlphaState>[src]
Auto Trait Implementations
impl<ComponentTy, AlphaState> Send for CieXYZA<ComponentTy, AlphaState> where
AlphaState: Send,
ComponentTy: Send,
AlphaState: Send,
ComponentTy: Send,
impl<ComponentTy, AlphaState> Sync for CieXYZA<ComponentTy, AlphaState> where
AlphaState: Sync,
ComponentTy: Sync,
AlphaState: Sync,
ComponentTy: Sync,
impl<ComponentTy, AlphaState> Unpin for CieXYZA<ComponentTy, AlphaState> where
AlphaState: Unpin,
ComponentTy: Unpin,
AlphaState: Unpin,
ComponentTy: Unpin,