Struct maplibre::style::PremultipliedAlpha
pub struct PremultipliedAlpha<ColorTy>where
ColorTy: ColorType,{
pub color: ColorTy,
pub alpha: <ColorTy as ColorType>::ComponentTy,
}
Expand description
A premultiplied color with an alpha component.
The color components have been premultiplied by the alpha component.
Fields§
§color: ColorTy
The contained color, which has been premultiplied with alpha
alpha: <ColorTy as ColorType>::ComponentTy
The alpha component.
Trait Implementations§
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 2]> for PremultipliedAlpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 2]> for PremultipliedAlpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 2]
fn as_mut(&mut self) -> &mut [ComponentTy; 2]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 2]> for PremultipliedAlpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 2]> for PremultipliedAlpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 2]
fn as_mut(&mut self) -> &mut [ComponentTy; 2]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 2]> for PremultipliedAlpha<Luma<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 2]> for PremultipliedAlpha<Luma<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 2]
fn as_mut(&mut self) -> &mut [ComponentTy; 2]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for PremultipliedAlpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
§fn as_mut(&mut self) -> &mut [ComponentTy; 4]
fn as_mut(&mut self) -> &mut [ComponentTy; 4]
Converts this type into a mutable reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 2]> for PremultipliedAlpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 2]> for PremultipliedAlpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 2]
fn as_ref(&self) -> &[ComponentTy; 2]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 2]> for PremultipliedAlpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 2]> for PremultipliedAlpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 2]
fn as_ref(&self) -> &[ComponentTy; 2]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 2]> for PremultipliedAlpha<Luma<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 2]> for PremultipliedAlpha<Luma<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 2]
fn as_ref(&self) -> &[ComponentTy; 2]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for PremultipliedAlpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
§fn as_ref(&self) -> &[ComponentTy; 4]
fn as_ref(&self) -> &[ComponentTy; 4]
Converts this type into a shared reference of the (usually inferred) input type.
§impl<ColorTy> Clone for PremultipliedAlpha<ColorTy>
impl<ColorTy> Clone for PremultipliedAlpha<ColorTy>
§fn clone(&self) -> PremultipliedAlpha<ColorTy>
fn clone(&self) -> PremultipliedAlpha<ColorTy>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl<BaseColorTy> ColorType for PremultipliedAlpha<BaseColorTy>where
BaseColorTy: ColorType,
impl<BaseColorTy> ColorType for PremultipliedAlpha<BaseColorTy>where
BaseColorTy: ColorType,
type ComponentTy = <BaseColorTy as ColorType>::ComponentTy
const SPACE: Spaces = BaseColorTy::SPACE
const NUM_COMPONENTS: usize = _
§impl<ColorTy> Debug for PremultipliedAlpha<ColorTy>
impl<ColorTy> Debug for PremultipliedAlpha<ColorTy>
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Rec709<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Rec709<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<GenericColor3<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<GenericColor3<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 2]> for PremultipliedAlpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 2]> for PremultipliedAlpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 2]) -> PremultipliedAlpha<GenericColor1<ComponentTy>>
fn from(_: [ComponentTy; 2]) -> PremultipliedAlpha<GenericColor1<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 2]> for PremultipliedAlpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 2]> for PremultipliedAlpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 2]) -> PremultipliedAlpha<Luminance<ComponentTy>>
fn from(_: [ComponentTy; 2]) -> PremultipliedAlpha<Luminance<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 2]> for PremultipliedAlpha<Luma<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 2]> for PremultipliedAlpha<Luma<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 2]) -> PremultipliedAlpha<Luma<ComponentTy>>
fn from(_: [ComponentTy; 2]) -> PremultipliedAlpha<Luma<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<AcesCg<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<AcesCg<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Aces2065<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Aces2065<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<AcesCc<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<AcesCc<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<AcesCct<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<AcesCct<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<DisplayP3<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<DisplayP3<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn from(
_: [ComponentTy; 4]
) -> PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>
fn from( _: [ComponentTy; 4] ) -> PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<DciP3<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<DciP3<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<DciXYZPrime<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<DciXYZPrime<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Bt2020<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Bt2020<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<EncodedSrgb<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<EncodedSrgb<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<EncodedBt2020<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<EncodedBt2020<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Bt2100<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Bt2100<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
§fn from(
_: [ComponentTy; 4]
) -> PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>
fn from( _: [ComponentTy; 4] ) -> PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<ICtCpPQ<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<ICtCpPQ<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<ICtCpHLG<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<ICtCpHLG<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<CieXYZ<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<CieXYZ<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<CieLab<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<CieLab<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<CieLCh<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<CieLCh<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Oklab<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Oklab<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<LinearSrgb<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<LinearSrgb<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Oklch<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Oklch<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Hsl<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Hsl<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Hsv<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Hsv<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YCbCr<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YCbCr<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YPrimeCbCr<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YPrimeCbCr<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YPbPr<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YPbPr<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YPrimePbPr<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YPrimePbPr<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Yuv<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<Yuv<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YCxCz<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<YCxCz<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<EncodedRec709<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> PremultipliedAlpha<EncodedRec709<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Aces2065<ComponentTy>>> for Aces2065<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Aces2065<ComponentTy>>> for Aces2065<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<Aces2065<ComponentTy>>
) -> Aces2065<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<Aces2065<ComponentTy>> ) -> Aces2065<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<AcesCc<ComponentTy>>> for AcesCc<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<AcesCc<ComponentTy>>> for AcesCc<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<AcesCc<ComponentTy>>
) -> AcesCc<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<AcesCc<ComponentTy>> ) -> AcesCc<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<AcesCct<ComponentTy>>> for AcesCct<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<AcesCct<ComponentTy>>> for AcesCct<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<AcesCct<ComponentTy>>
) -> AcesCct<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<AcesCct<ComponentTy>> ) -> AcesCct<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<AcesCg<ComponentTy>>> for AcesCg<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<AcesCg<ComponentTy>>> for AcesCg<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<AcesCg<ComponentTy>>
) -> AcesCg<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<AcesCg<ComponentTy>> ) -> AcesCg<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Bt2020<ComponentTy>>> for Bt2020<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Bt2020<ComponentTy>>> for Bt2020<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<Bt2020<ComponentTy>>
) -> Bt2020<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<Bt2020<ComponentTy>> ) -> Bt2020<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Bt2100<ComponentTy>>> for Bt2100<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Bt2100<ComponentTy>>> for Bt2100<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<Bt2100<ComponentTy>>
) -> Bt2100<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<Bt2100<ComponentTy>> ) -> Bt2100<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<CieLCh<ComponentTy>>> for CieLCh<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<CieLCh<ComponentTy>>> for CieLCh<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<CieLCh<ComponentTy>>
) -> CieLCh<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<CieLCh<ComponentTy>> ) -> CieLCh<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<CieLab<ComponentTy>>> for CieLab<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<CieLab<ComponentTy>>> for CieLab<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<CieLab<ComponentTy>>
) -> CieLab<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<CieLab<ComponentTy>> ) -> CieLab<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<CieXYZ<ComponentTy>>> for CieXYZ<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<CieXYZ<ComponentTy>>> for CieXYZ<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<CieXYZ<ComponentTy>>
) -> CieXYZ<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<CieXYZ<ComponentTy>> ) -> CieXYZ<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<DciP3<ComponentTy>>> for DciP3<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<DciP3<ComponentTy>>> for DciP3<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<DciP3<ComponentTy>>) -> DciP3<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<DciP3<ComponentTy>>) -> DciP3<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<DciXYZPrime<ComponentTy>>> for DciXYZPrime<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<DciXYZPrime<ComponentTy>>> for DciXYZPrime<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<DciXYZPrime<ComponentTy>>
) -> DciXYZPrime<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<DciXYZPrime<ComponentTy>> ) -> DciXYZPrime<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<DisplayP3<ComponentTy>>> for DisplayP3<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<DisplayP3<ComponentTy>>> for DisplayP3<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<DisplayP3<ComponentTy>>
) -> DisplayP3<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<DisplayP3<ComponentTy>> ) -> DisplayP3<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<EncodedBt2020<ComponentTy>>> for EncodedBt2020<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<EncodedBt2020<ComponentTy>>> for EncodedBt2020<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<EncodedBt2020<ComponentTy>>
) -> EncodedBt2020<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<EncodedBt2020<ComponentTy>> ) -> EncodedBt2020<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>> for EncodedBt2100HLG<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>> for EncodedBt2100HLG<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>
) -> EncodedBt2100HLG<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>> ) -> EncodedBt2100HLG<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>> for EncodedBt2100PQ<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>> for EncodedBt2100PQ<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>
) -> EncodedBt2100PQ<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>> ) -> EncodedBt2100PQ<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>> for EncodedDisplayP3<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>> for EncodedDisplayP3<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>
) -> EncodedDisplayP3<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<EncodedDisplayP3<ComponentTy>> ) -> EncodedDisplayP3<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<EncodedRec709<ComponentTy>>> for EncodedRec709<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<EncodedRec709<ComponentTy>>> for EncodedRec709<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<EncodedRec709<ComponentTy>>
) -> EncodedRec709<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<EncodedRec709<ComponentTy>> ) -> EncodedRec709<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<EncodedSrgb<ComponentTy>>> for EncodedSrgb<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<EncodedSrgb<ComponentTy>>> for EncodedSrgb<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<EncodedSrgb<ComponentTy>>
) -> EncodedSrgb<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<EncodedSrgb<ComponentTy>> ) -> EncodedSrgb<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<GenericColor1<ComponentTy>>> for GenericColor1<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<GenericColor1<ComponentTy>>> for GenericColor1<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<GenericColor1<ComponentTy>>
) -> GenericColor1<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<GenericColor1<ComponentTy>> ) -> GenericColor1<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<GenericColor3<ComponentTy>>> for GenericColor3<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<GenericColor3<ComponentTy>>> for GenericColor3<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<GenericColor3<ComponentTy>>
) -> GenericColor3<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<GenericColor3<ComponentTy>> ) -> GenericColor3<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Hsl<ComponentTy>>> for Hsl<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Hsl<ComponentTy>>> for Hsl<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<Hsl<ComponentTy>>) -> Hsl<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<Hsl<ComponentTy>>) -> Hsl<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Hsv<ComponentTy>>> for Hsv<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Hsv<ComponentTy>>> for Hsv<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<Hsv<ComponentTy>>) -> Hsv<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<Hsv<ComponentTy>>) -> Hsv<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<ICtCpHLG<ComponentTy>>
) -> ICtCpHLG<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<ICtCpHLG<ComponentTy>> ) -> ICtCpHLG<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<ICtCpPQ<ComponentTy>>
) -> ICtCpPQ<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<ICtCpPQ<ComponentTy>> ) -> ICtCpPQ<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<LinearSrgb<ComponentTy>>> for LinearSrgb<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<LinearSrgb<ComponentTy>>> for LinearSrgb<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<LinearSrgb<ComponentTy>>
) -> LinearSrgb<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<LinearSrgb<ComponentTy>> ) -> LinearSrgb<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Luma<ComponentTy>>> for Luma<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Luma<ComponentTy>>> for Luma<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<Luma<ComponentTy>>) -> Luma<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<Luma<ComponentTy>>) -> Luma<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Luminance<ComponentTy>>> for Luminance<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Luminance<ComponentTy>>> for Luminance<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<Luminance<ComponentTy>>
) -> Luminance<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<Luminance<ComponentTy>> ) -> Luminance<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Oklab<ComponentTy>>> for Oklab<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Oklab<ComponentTy>>> for Oklab<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<Oklab<ComponentTy>>) -> Oklab<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<Oklab<ComponentTy>>) -> Oklab<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Oklch<ComponentTy>>> for Oklch<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Oklch<ComponentTy>>> for Oklch<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<Oklch<ComponentTy>>) -> Oklch<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<Oklch<ComponentTy>>) -> Oklch<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Rec709<ComponentTy>>> for Rec709<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Rec709<ComponentTy>>> for Rec709<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<Rec709<ComponentTy>>
) -> Rec709<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<Rec709<ComponentTy>> ) -> Rec709<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<YCbCr<ComponentTy>>> for YCbCr<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<YCbCr<ComponentTy>>> for YCbCr<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<YCbCr<ComponentTy>>) -> YCbCr<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<YCbCr<ComponentTy>>) -> YCbCr<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<YCxCz<ComponentTy>>> for YCxCz<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<YCxCz<ComponentTy>>> for YCxCz<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<YCxCz<ComponentTy>>) -> YCxCz<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<YCxCz<ComponentTy>>) -> YCxCz<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<YPbPr<ComponentTy>>> for YPbPr<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<YPbPr<ComponentTy>>> for YPbPr<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<YPbPr<ComponentTy>>) -> YPbPr<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<YPbPr<ComponentTy>>) -> YPbPr<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<YPrimeCbCr<ComponentTy>>> for YPrimeCbCr<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<YPrimeCbCr<ComponentTy>>> for YPrimeCbCr<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<YPrimeCbCr<ComponentTy>>
) -> YPrimeCbCr<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<YPrimeCbCr<ComponentTy>> ) -> YPrimeCbCr<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<YPrimePbPr<ComponentTy>>> for YPrimePbPr<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<YPrimePbPr<ComponentTy>>> for YPrimePbPr<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: PremultipliedAlpha<YPrimePbPr<ComponentTy>>
) -> YPrimePbPr<ComponentTy>
fn from( col_alpha: PremultipliedAlpha<YPrimePbPr<ComponentTy>> ) -> YPrimePbPr<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<PremultipliedAlpha<Yuv<ComponentTy>>> for Yuv<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<PremultipliedAlpha<Yuv<ComponentTy>>> for Yuv<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: PremultipliedAlpha<Yuv<ComponentTy>>) -> Yuv<ComponentTy>
fn from(col_alpha: PremultipliedAlpha<Yuv<ComponentTy>>) -> Yuv<ComponentTy>
Converts to this type from the input type.
§impl<ColorTy> Hash for PremultipliedAlpha<ColorTy>
impl<ColorTy> Hash for PremultipliedAlpha<ColorTy>
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 2]> for PremultipliedAlpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 2]> for PremultipliedAlpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 2]
fn into(self) -> [ComponentTy; 2]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 2]> for PremultipliedAlpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 2]> for PremultipliedAlpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 2]
fn into(self) -> [ComponentTy; 2]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 2]> for PremultipliedAlpha<Luma<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 2]> for PremultipliedAlpha<Luma<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 2]
fn into(self) -> [ComponentTy; 2]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
§fn into(self) -> [ComponentTy; 4]
fn into(self) -> [ComponentTy; 4]
Converts this type into the (usually inferred) input type.
§impl<ColorTy> PartialEq for PremultipliedAlpha<ColorTy>
impl<ColorTy> PartialEq for PremultipliedAlpha<ColorTy>
§fn eq(&self, other: &PremultipliedAlpha<ColorTy>) -> bool
fn eq(&self, other: &PremultipliedAlpha<ColorTy>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<ColorTy> Copy for PremultipliedAlpha<ColorTy>
impl<ColorTy> Eq for PremultipliedAlpha<ColorTy>
impl<ColorTy> StructuralPartialEq for PremultipliedAlpha<ColorTy>where
ColorTy: ColorType,
Auto Trait Implementations§
impl<ColorTy> Freeze for PremultipliedAlpha<ColorTy>
impl<ColorTy> RefUnwindSafe for PremultipliedAlpha<ColorTy>
impl<ColorTy> Send for PremultipliedAlpha<ColorTy>
impl<ColorTy> Sync for PremultipliedAlpha<ColorTy>
impl<ColorTy> Unpin for PremultipliedAlpha<ColorTy>
impl<ColorTy> UnwindSafe for PremultipliedAlpha<ColorTy>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more