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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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>
where ColorTy: Clone + ColorType, <ColorTy as ColorType>::ComponentTy: Clone,

§

fn clone(&self) -> PremultipliedAlpha<ColorTy>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

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>
where ColorTy: Debug + ColorType, <ColorTy as ColorType>::ComponentTy: Debug,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<ComponentTy> From<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>
where ComponentTy: Copy,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

fn from(col_alpha: PremultipliedAlpha<Yuv<ComponentTy>>) -> Yuv<ComponentTy>

Converts to this type from the input type.
§

impl<ColorTy> Hash for PremultipliedAlpha<ColorTy>
where ColorTy: Hash + ColorType, <ColorTy as ColorType>::ComponentTy: Hash,

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl<ComponentTy> Into<[ComponentTy; 4]> for PremultipliedAlpha<Rec709<ComponentTy>>
where ComponentTy: Copy,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

fn into(self) -> [ComponentTy; 4]

Converts this type into the (usually inferred) input type.
§

impl<ColorTy> PartialEq for PremultipliedAlpha<ColorTy>
where ColorTy: PartialEq + ColorType, <ColorTy as ColorType>::ComponentTy: PartialEq,

§

fn eq(&self, other: &PremultipliedAlpha<ColorTy>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl<ColorTy> Copy for PremultipliedAlpha<ColorTy>
where ColorTy: Copy + ColorType, <ColorTy as ColorType>::ComponentTy: Copy,

§

impl<ColorTy> Eq for PremultipliedAlpha<ColorTy>
where ColorTy: Eq + ColorType, <ColorTy as ColorType>::ComponentTy: Eq,

§

impl<ColorTy> StructuralPartialEq for PremultipliedAlpha<ColorTy>
where ColorTy: ColorType,

Auto Trait Implementations§

§

impl<ColorTy> Freeze for PremultipliedAlpha<ColorTy>
where ColorTy: Freeze, <ColorTy as ColorType>::ComponentTy: Freeze,

§

impl<ColorTy> RefUnwindSafe for PremultipliedAlpha<ColorTy>
where ColorTy: RefUnwindSafe, <ColorTy as ColorType>::ComponentTy: RefUnwindSafe,

§

impl<ColorTy> Send for PremultipliedAlpha<ColorTy>
where ColorTy: Send, <ColorTy as ColorType>::ComponentTy: Send,

§

impl<ColorTy> Sync for PremultipliedAlpha<ColorTy>
where ColorTy: Sync, <ColorTy as ColorType>::ComponentTy: Sync,

§

impl<ColorTy> Unpin for PremultipliedAlpha<ColorTy>
where ColorTy: Unpin, <ColorTy as ColorType>::ComponentTy: Unpin,

§

impl<ColorTy> UnwindSafe for PremultipliedAlpha<ColorTy>
where ColorTy: UnwindSafe, <ColorTy as ColorType>::ComponentTy: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<T> Downcast for T
where T: 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>

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)

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)

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
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> DynEq for T
where T: Any + Eq,

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool

source§

impl<T> DynHash for T
where T: DynEq + Hash,

source§

fn as_dyn_eq(&self) -> &(dyn DynEq + 'static)

source§

fn dyn_hash(&self, state: &mut dyn Hasher)

§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

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
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

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
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<G1, G2> Within<G2> for G1
where G2: Contains<G1>,

§

fn is_within(&self, b: &G2) -> bool

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

source§

impl<T> Resource for T
where T: 'static,

§

impl<T> WasmNotSend for T
where T: Send,

§

impl<T> WasmNotSendSync for T
where T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,