Struct cint::Rec709 [−][src]
#[repr(C)]pub struct Rec709<ComponentTy> { pub r: ComponentTy, pub g: ComponentTy, pub b: ComponentTy, }
Expand description
A color in the Rec.709/BT.709 color space.
This color space uses the BT.709 primaries, D65 white point, and BT.601 (reused in BT.709) transfer function. This version is linear, without the BT.601 OETF applied.
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, Rec709<ComponentTy>>> for Rec709<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, Rec709<ComponentTy>>> for Rec709<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, Rec709<ComponentTy>>
) -> Rec709<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, Rec709<ComponentTy>>
) -> Rec709<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>> for Rec709<ComponentTy>[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>> for Rec709<ComponentTy>[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>
) -> Rec709<ComponentTy>[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>
) -> Rec709<ComponentTy>[src]Performs the conversion.
impl<ComponentTy: Ord> Ord for Rec709<ComponentTy>[src]
impl<ComponentTy: Ord> Ord for Rec709<ComponentTy>[src]impl<ComponentTy: PartialOrd> PartialOrd<Rec709<ComponentTy>> for Rec709<ComponentTy>[src]
impl<ComponentTy: PartialOrd> PartialOrd<Rec709<ComponentTy>> for Rec709<ComponentTy>[src]fn partial_cmp(&self, other: &Rec709<ComponentTy>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Rec709<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 Rec709<ComponentTy>[src]
impl<ComponentTy: Eq> Eq for Rec709<ComponentTy>[src]
impl<ComponentTy: Pod> Pod for Rec709<ComponentTy>[src]
impl<ComponentTy> StructuralEq for Rec709<ComponentTy>[src]
impl<ComponentTy> StructuralPartialEq for Rec709<ComponentTy>[src]
Auto Trait Implementations
impl<ComponentTy> Send for Rec709<ComponentTy> where
ComponentTy: Send,
ComponentTy: Send,
impl<ComponentTy> Sync for Rec709<ComponentTy> where
ComponentTy: Sync,
ComponentTy: Sync,
impl<ComponentTy> Unpin for Rec709<ComponentTy> where
ComponentTy: Unpin,
ComponentTy: Unpin,