Struct cint::PremultipliedColorAlpha [−][src]
pub struct PremultipliedColorAlpha<ComponentTy, ColorTy> { pub color: ColorTy, pub alpha: ComponentTy, }
Expand description
A premultiplied color with an alpha component.
The color components have been premultiplied by the alpha component.
Fields
color: ColorTy
Expand description
The contained color, which has been premultiplied with alpha
alpha: ComponentTy
Expand description
The alpha component.
Trait Implementations
impl<ComponentTy: Clone, ColorTy: Clone> Clone for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: Clone, ColorTy: Clone> Clone for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]fn clone(&self) -> PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
fn clone(&self) -> PremultipliedColorAlpha<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 PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: Debug, ColorTy: Debug> Debug for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
[src]
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
[src]fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
[src]
fn from(
[a, b, c, alpha]: [ComponentTy; 4]
) -> PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>> for Aces2065<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>> for Aces2065<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>
) -> Aces2065<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>
) -> Aces2065<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>> for AcesCc<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>> for AcesCc<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>
) -> AcesCc<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>
) -> AcesCc<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>> for AcesCct<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>> for AcesCct<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
) -> AcesCct<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
) -> AcesCct<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> From<PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>> for Bt2020<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>> for Bt2020<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>
) -> Bt2020<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>
) -> Bt2020<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>> for Bt2100<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>> for Bt2100<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>
) -> Bt2100<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>
) -> Bt2100<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>> for CieLCh<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>> for CieLCh<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>
) -> CieLCh<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>
) -> CieLCh<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>> for CieLab<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>> for CieLab<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>
) -> CieLab<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>
) -> CieLab<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> From<PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>> for DciP3<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>> for DciP3<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>
) -> DciP3<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>
) -> DciP3<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>> for DciXYZPrime<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>> for DciXYZPrime<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
) -> DciXYZPrime<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
) -> DciXYZPrime<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>> for DisplayP3<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>> for DisplayP3<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
) -> DisplayP3<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
) -> DisplayP3<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>> for EncodedBt2020<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>> for EncodedBt2020<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
) -> EncodedBt2020<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
) -> EncodedBt2020<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>> for EncodedBt2100HLG<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>> for EncodedBt2100HLG<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
) -> EncodedBt2100HLG<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
) -> EncodedBt2100HLG<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>> for EncodedBt2100PQ<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>> for EncodedBt2100PQ<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
) -> EncodedBt2100PQ<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
) -> EncodedBt2100PQ<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>> for EncodedDisplayP3<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>> for EncodedDisplayP3<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
) -> EncodedDisplayP3<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
) -> EncodedDisplayP3<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>> for EncodedRec709<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>> for EncodedRec709<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
) -> EncodedRec709<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
) -> EncodedRec709<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>> for EncodedSrgb<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>> for EncodedSrgb<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
) -> EncodedSrgb<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
) -> EncodedSrgb<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>> for GenericColor<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>> for GenericColor<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>
) -> GenericColor<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>
) -> GenericColor<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>> for LinearSrgb<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>> for LinearSrgb<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
) -> LinearSrgb<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
) -> LinearSrgb<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>> for Oklab<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>> for Oklab<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>
) -> Oklab<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>
) -> Oklab<ComponentTy>
[src]Performs the conversion.
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>> for Oklch<ComponentTy>
[src]
impl<ComponentTy> From<PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>> for Oklch<ComponentTy>
[src]fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>
) -> Oklch<ComponentTy>
[src]
fn from(
col_alpha: PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>
) -> Oklch<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: Hash, ColorTy: Hash> Hash for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: Hash, ColorTy: Hash> Hash for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedSrgb<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, LinearSrgb<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedDisplayP3<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DciP3<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DciXYZPrime<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Bt2020<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2020<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Bt2100<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2100PQ<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedBt2100HLG<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, ICtCpPQ<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, ICtCpHLG<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, EncodedRec709<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieXYZ<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieLab<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, CieLCh<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Oklab<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Oklch<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Rec709<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, GenericColor<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCg<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, Aces2065<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCc<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, AcesCct<ComponentTy>>
[src]impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
[src]
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedColorAlpha<ComponentTy, DisplayP3<ComponentTy>>
[src]impl<ComponentTy: Ord, ColorTy: Ord> Ord for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: Ord, ColorTy: Ord> Ord for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]fn cmp(&self, other: &PremultipliedColorAlpha<ComponentTy, ColorTy>) -> Ordering
[src]
fn cmp(&self, other: &PremultipliedColorAlpha<ComponentTy, ColorTy>) -> Ordering
[src]#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]Compares and returns the maximum of two values. Read more
impl<ComponentTy: PartialEq, ColorTy: PartialEq> PartialEq<PremultipliedColorAlpha<ComponentTy, ColorTy>> for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: PartialEq, ColorTy: PartialEq> PartialEq<PremultipliedColorAlpha<ComponentTy, ColorTy>> for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]fn eq(&self, other: &PremultipliedColorAlpha<ComponentTy, ColorTy>) -> bool
[src]
fn eq(&self, other: &PremultipliedColorAlpha<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: &PremultipliedColorAlpha<ComponentTy, ColorTy>) -> bool
[src]
fn ne(&self, other: &PremultipliedColorAlpha<ComponentTy, ColorTy>) -> bool
[src]This method tests for !=
.
impl<ComponentTy: PartialOrd, ColorTy: PartialOrd> PartialOrd<PremultipliedColorAlpha<ComponentTy, ColorTy>> for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: PartialOrd, ColorTy: PartialOrd> PartialOrd<PremultipliedColorAlpha<ComponentTy, ColorTy>> for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]fn partial_cmp(
&self,
other: &PremultipliedColorAlpha<ComponentTy, ColorTy>
) -> Option<Ordering>
[src]
fn partial_cmp(
&self,
other: &PremultipliedColorAlpha<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) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.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) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.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 PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: Zeroable, ColorTy: Zeroable> Zeroable for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]impl<ComponentTy: Copy, ColorTy: Copy> Copy for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: Eq, ColorTy: Eq> Eq for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy: Pod, ColorTy: Pod> Pod for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy, ColorTy> StructuralEq for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
impl<ComponentTy, ColorTy> StructuralPartialEq for PremultipliedColorAlpha<ComponentTy, ColorTy>
[src]
Auto Trait Implementations
impl<ComponentTy, ColorTy> Send for PremultipliedColorAlpha<ComponentTy, ColorTy> where
ColorTy: Send,
ComponentTy: Send,
ColorTy: Send,
ComponentTy: Send,
impl<ComponentTy, ColorTy> Sync for PremultipliedColorAlpha<ComponentTy, ColorTy> where
ColorTy: Sync,
ComponentTy: Sync,
ColorTy: Sync,
ComponentTy: Sync,
impl<ComponentTy, ColorTy> Unpin for PremultipliedColorAlpha<ComponentTy, ColorTy> where
ColorTy: Unpin,
ComponentTy: Unpin,
ColorTy: Unpin,
ComponentTy: Unpin,