Struct cint::ColorAlpha [−][src]
pub struct ColorAlpha<ComponentTy, ColorTy> {
pub color: ColorTy,
pub alpha: ComponentTy,
}Expand description
A color with an alpha component.
The color components and alpha component are completely separate.
Fields
color: ColorTyExpand description
The contained color, which is completely separate from the alpha value.
alpha: ComponentTyExpand description
The alpha component.
Trait Implementations
impl<ComponentTy: Clone, ColorTy: Clone> Clone for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: Clone, ColorTy: Clone> Clone for ColorAlpha<ComponentTy, ColorTy>[src]fn clone(&self) -> ColorAlpha<ComponentTy, ColorTy>[src]
fn clone(&self) -> ColorAlpha<ComponentTy, ColorTy>[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl<ComponentTy: Debug, ColorTy: Debug> Debug for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: Debug, ColorTy: Debug> Debug for ColorAlpha<ComponentTy, ColorTy>[src]impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DciP3<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DciP3<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, DciP3<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, DciP3<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Bt2020<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Bt2020<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Bt2020<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Bt2020<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Bt2100<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Bt2100<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Bt2100<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Bt2100<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieLab<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieLab<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, CieLab<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, CieLab<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieLCh<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieLCh<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, CieLCh<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, CieLCh<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Oklab<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Oklab<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Oklab<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Oklab<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Oklch<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Oklch<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Oklch<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Oklch<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Rec709<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Rec709<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Rec709<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Rec709<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, GenericColor<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, GenericColor<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, GenericColor<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, GenericColor<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCg<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCg<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, AcesCg<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, AcesCg<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Aces2065<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Aces2065<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Aces2065<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, Aces2065<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCc<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCc<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, AcesCc<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, AcesCc<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCct<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCct<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, AcesCct<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, AcesCct<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>[src]
impl<ComponentTy> From<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, Aces2065<ComponentTy>>> for Aces2065<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, Aces2065<ComponentTy>>> for Aces2065<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, Aces2065<ComponentTy>>
) -> Aces2065<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, Aces2065<ComponentTy>>
) -> Aces2065<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, AcesCc<ComponentTy>>> for AcesCc<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, AcesCc<ComponentTy>>> for AcesCc<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, AcesCc<ComponentTy>>
) -> AcesCc<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, AcesCc<ComponentTy>>
) -> AcesCc<ComponentTy>[src]Performs the conversion.
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<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<ColorAlpha<ComponentTy, Bt2020<ComponentTy>>> for Bt2020<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, Bt2020<ComponentTy>>> for Bt2020<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, Bt2020<ComponentTy>>
) -> Bt2020<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, Bt2020<ComponentTy>>
) -> Bt2020<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, Bt2100<ComponentTy>>> for Bt2100<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, Bt2100<ComponentTy>>> for Bt2100<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, Bt2100<ComponentTy>>
) -> Bt2100<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, Bt2100<ComponentTy>>
) -> Bt2100<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, CieLCh<ComponentTy>>> for CieLCh<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, CieLCh<ComponentTy>>> for CieLCh<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, CieLCh<ComponentTy>>
) -> CieLCh<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, CieLCh<ComponentTy>>
) -> CieLCh<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, CieLab<ComponentTy>>> for CieLab<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, CieLab<ComponentTy>>> for CieLab<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, CieLab<ComponentTy>>
) -> CieLab<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, CieLab<ComponentTy>>
) -> CieLab<ComponentTy>[src]Performs the conversion.
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<ColorAlpha<ComponentTy, DciP3<ComponentTy>>> for DciP3<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, DciP3<ComponentTy>>> for DciP3<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, DciP3<ComponentTy>>
) -> DciP3<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, DciP3<ComponentTy>>
) -> DciP3<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>> for DciXYZPrime<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>> for DciXYZPrime<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
) -> DciXYZPrime<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
) -> DciXYZPrime<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>> for DisplayP3<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>> for DisplayP3<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
) -> DisplayP3<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
) -> DisplayP3<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>> for EncodedBt2020<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>> for EncodedBt2020<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
) -> EncodedBt2020<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
) -> EncodedBt2020<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>> for EncodedBt2100HLG<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>> for EncodedBt2100HLG<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
) -> EncodedBt2100HLG<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
) -> EncodedBt2100HLG<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>> for EncodedBt2100PQ<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>> for EncodedBt2100PQ<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
) -> EncodedBt2100PQ<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
) -> EncodedBt2100PQ<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>> for EncodedDisplayP3<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>> for EncodedDisplayP3<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
) -> EncodedDisplayP3<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
) -> EncodedDisplayP3<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>> for EncodedRec709<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>> for EncodedRec709<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
) -> EncodedRec709<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
) -> EncodedRec709<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>> for EncodedSrgb<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>> for EncodedSrgb<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
) -> EncodedSrgb<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
) -> EncodedSrgb<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, GenericColor<ComponentTy>>> for GenericColor<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, GenericColor<ComponentTy>>> for GenericColor<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, GenericColor<ComponentTy>>
) -> GenericColor<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, GenericColor<ComponentTy>>
) -> GenericColor<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>> for LinearSrgb<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>> for LinearSrgb<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
) -> LinearSrgb<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
) -> LinearSrgb<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, Oklab<ComponentTy>>> for Oklab<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, Oklab<ComponentTy>>> for Oklab<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, Oklab<ComponentTy>>
) -> Oklab<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, Oklab<ComponentTy>>
) -> Oklab<ComponentTy>[src]Performs the conversion.
impl<ComponentTy> From<ColorAlpha<ComponentTy, Oklch<ComponentTy>>> for Oklch<ComponentTy>[src]
impl<ComponentTy> From<ColorAlpha<ComponentTy, Oklch<ComponentTy>>> for Oklch<ComponentTy>[src]fn from(
col_alpha: ColorAlpha<ComponentTy, Oklch<ComponentTy>>
) -> Oklch<ComponentTy>[src]
fn from(
col_alpha: ColorAlpha<ComponentTy, Oklch<ComponentTy>>
) -> Oklch<ComponentTy>[src]Performs the conversion.
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: Hash, ColorTy: Hash> Hash for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: Hash, ColorTy: Hash> Hash for ColorAlpha<ComponentTy, ColorTy>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DciP3<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DciP3<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Bt2020<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Bt2020<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Bt2100<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Bt2100<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieXYZ<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieLab<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieLab<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieLCh<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, CieLCh<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Oklab<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Oklab<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Oklch<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Oklch<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Rec709<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Rec709<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, GenericColor<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, GenericColor<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCg<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCg<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Aces2065<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, Aces2065<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCc<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCc<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCct<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, AcesCct<ComponentTy>>[src]impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for ColorAlpha<ComponentTy, DisplayP3<ComponentTy>>[src]impl<ComponentTy: Ord, ColorTy: Ord> Ord for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: Ord, ColorTy: Ord> Ord for ColorAlpha<ComponentTy, ColorTy>[src]impl<ComponentTy: PartialEq, ColorTy: PartialEq> PartialEq<ColorAlpha<ComponentTy, ColorTy>> for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: PartialEq, ColorTy: PartialEq> PartialEq<ColorAlpha<ComponentTy, ColorTy>> for ColorAlpha<ComponentTy, ColorTy>[src]fn eq(&self, other: &ColorAlpha<ComponentTy, ColorTy>) -> bool[src]
fn eq(&self, other: &ColorAlpha<ComponentTy, ColorTy>) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &ColorAlpha<ComponentTy, ColorTy>) -> bool[src]
fn ne(&self, other: &ColorAlpha<ComponentTy, ColorTy>) -> bool[src]This method tests for !=.
impl<ComponentTy: PartialOrd, ColorTy: PartialOrd> PartialOrd<ColorAlpha<ComponentTy, ColorTy>> for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: PartialOrd, ColorTy: PartialOrd> PartialOrd<ColorAlpha<ComponentTy, ColorTy>> for ColorAlpha<ComponentTy, ColorTy>[src]fn partial_cmp(
&self,
other: &ColorAlpha<ComponentTy, ColorTy>
) -> Option<Ordering>[src]
fn partial_cmp(
&self,
other: &ColorAlpha<ComponentTy, ColorTy>
) -> 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: Zeroable, ColorTy: Zeroable> Zeroable for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: Zeroable, ColorTy: Zeroable> Zeroable for ColorAlpha<ComponentTy, ColorTy>[src]impl<ComponentTy: Copy, ColorTy: Copy> Copy for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: Eq, ColorTy: Eq> Eq for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy: Pod, ColorTy: Pod> Pod for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy, ColorTy> StructuralEq for ColorAlpha<ComponentTy, ColorTy>[src]
impl<ComponentTy, ColorTy> StructuralPartialEq for ColorAlpha<ComponentTy, ColorTy>[src]
Auto Trait Implementations
impl<ComponentTy, ColorTy> Send for ColorAlpha<ComponentTy, ColorTy> where
ColorTy: Send,
ComponentTy: Send,
ColorTy: Send,
ComponentTy: Send,
impl<ComponentTy, ColorTy> Sync for ColorAlpha<ComponentTy, ColorTy> where
ColorTy: Sync,
ComponentTy: Sync,
ColorTy: Sync,
ComponentTy: Sync,
impl<ComponentTy, ColorTy> Unpin for ColorAlpha<ComponentTy, ColorTy> where
ColorTy: Unpin,
ComponentTy: Unpin,
ColorTy: Unpin,
ComponentTy: Unpin,