#[repr(C)]pub struct Alpha<ColorTy>where
ColorTy: ColorType,{
pub color: ColorTy,
pub alpha: <ColorTy as ColorType>::ComponentTy,
}
Expand description
A color with an alpha component.
The color components and alpha component are completely separate.
Fields§
§color: ColorTy
The contained color, which is completely separate from the alpha
value.
alpha: <ColorTy as ColorType>::ComponentTy
The alpha component.
Trait Implementations§
§impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 2]> for Alpha<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 Alpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 2]> for Alpha<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 Alpha<Luma<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 2]> for Alpha<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 Alpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsMut<[ComponentTy; 4]> for Alpha<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 Alpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 2]> for Alpha<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 Alpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 2]> for Alpha<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 Alpha<Luma<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 2]> for Alpha<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 Alpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> AsRef<[ComponentTy; 4]> for Alpha<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<BaseColorTy> ColorType for Alpha<BaseColorTy>where
BaseColorTy: ColorType,
impl<BaseColorTy> ColorType for Alpha<BaseColorTy>where
BaseColorTy: ColorType,
type ComponentTy = <BaseColorTy as ColorType>::ComponentTy
const SPACE: Spaces = BaseColorTy::SPACE
const NUM_COMPONENTS: usize = _
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Rec709<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Rec709<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<GenericColor3<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<GenericColor3<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 2]> for Alpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 2]> for Alpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 2]) -> Alpha<GenericColor1<ComponentTy>>
fn from(_: [ComponentTy; 2]) -> Alpha<GenericColor1<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 2]> for Alpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 2]> for Alpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 2]) -> Alpha<Luminance<ComponentTy>>
fn from(_: [ComponentTy; 2]) -> Alpha<Luminance<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 2]> for Alpha<Luma<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 2]> for Alpha<Luma<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 2]) -> Alpha<Luma<ComponentTy>>
fn from(_: [ComponentTy; 2]) -> Alpha<Luma<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<AcesCg<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<AcesCg<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Aces2065<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Aces2065<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<AcesCc<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<AcesCc<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<AcesCct<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<AcesCct<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<DisplayP3<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<DisplayP3<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<EncodedDisplayP3<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<EncodedDisplayP3<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<DciP3<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<DciP3<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<EncodedSrgb<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<EncodedSrgb<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<DciXYZPrime<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<DciXYZPrime<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Bt2020<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Bt2020<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<EncodedBt2020<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<EncodedBt2020<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Bt2100<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Bt2100<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<EncodedBt2100PQ<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<EncodedBt2100PQ<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<EncodedBt2100HLG<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<EncodedBt2100HLG<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<ICtCpPQ<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<ICtCpPQ<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<ICtCpHLG<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<ICtCpHLG<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<CieXYZ<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<CieXYZ<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<CieLab<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<CieLab<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<LinearSrgb<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<LinearSrgb<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<CieLCh<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<CieLCh<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Oklab<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Oklab<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Oklch<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Oklch<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Hsl<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Hsl<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Hsv<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Hsv<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<YCbCr<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<YCbCr<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<YPrimeCbCr<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<YPrimeCbCr<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<YPbPr<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<YPbPr<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<YPrimePbPr<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<YPrimePbPr<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<Yuv<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<Yuv<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<EncodedRec709<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<EncodedRec709<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> From<[ComponentTy; 4]> for Alpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
§fn from(_: [ComponentTy; 4]) -> Alpha<YCxCz<ComponentTy>>
fn from(_: [ComponentTy; 4]) -> Alpha<YCxCz<ComponentTy>>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<Aces2065<ComponentTy>>> for Aces2065<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<Aces2065<ComponentTy>>> for Aces2065<ComponentTy>where
ComponentTy: Copy,
§impl<ComponentTy> From<Alpha<AcesCct<ComponentTy>>> for AcesCct<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<AcesCct<ComponentTy>>> for AcesCct<ComponentTy>where
ComponentTy: Copy,
§impl<ComponentTy> From<Alpha<DciXYZPrime<ComponentTy>>> for DciXYZPrime<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<DciXYZPrime<ComponentTy>>> for DciXYZPrime<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: Alpha<DciXYZPrime<ComponentTy>>) -> DciXYZPrime<ComponentTy>
fn from(col_alpha: Alpha<DciXYZPrime<ComponentTy>>) -> DciXYZPrime<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<DisplayP3<ComponentTy>>> for DisplayP3<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<DisplayP3<ComponentTy>>> for DisplayP3<ComponentTy>where
ComponentTy: Copy,
§impl<ComponentTy> From<Alpha<EncodedBt2020<ComponentTy>>> for EncodedBt2020<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<EncodedBt2020<ComponentTy>>> for EncodedBt2020<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: Alpha<EncodedBt2020<ComponentTy>>
) -> EncodedBt2020<ComponentTy>
fn from( col_alpha: Alpha<EncodedBt2020<ComponentTy>> ) -> EncodedBt2020<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<EncodedBt2100HLG<ComponentTy>>> for EncodedBt2100HLG<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<EncodedBt2100HLG<ComponentTy>>> for EncodedBt2100HLG<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: Alpha<EncodedBt2100HLG<ComponentTy>>
) -> EncodedBt2100HLG<ComponentTy>
fn from( col_alpha: Alpha<EncodedBt2100HLG<ComponentTy>> ) -> EncodedBt2100HLG<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<EncodedBt2100PQ<ComponentTy>>> for EncodedBt2100PQ<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<EncodedBt2100PQ<ComponentTy>>> for EncodedBt2100PQ<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: Alpha<EncodedBt2100PQ<ComponentTy>>
) -> EncodedBt2100PQ<ComponentTy>
fn from( col_alpha: Alpha<EncodedBt2100PQ<ComponentTy>> ) -> EncodedBt2100PQ<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<EncodedDisplayP3<ComponentTy>>> for EncodedDisplayP3<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<EncodedDisplayP3<ComponentTy>>> for EncodedDisplayP3<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: Alpha<EncodedDisplayP3<ComponentTy>>
) -> EncodedDisplayP3<ComponentTy>
fn from( col_alpha: Alpha<EncodedDisplayP3<ComponentTy>> ) -> EncodedDisplayP3<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<EncodedRec709<ComponentTy>>> for EncodedRec709<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<EncodedRec709<ComponentTy>>> for EncodedRec709<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: Alpha<EncodedRec709<ComponentTy>>
) -> EncodedRec709<ComponentTy>
fn from( col_alpha: Alpha<EncodedRec709<ComponentTy>> ) -> EncodedRec709<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<EncodedSrgb<ComponentTy>>> for EncodedSrgb<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<EncodedSrgb<ComponentTy>>> for EncodedSrgb<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: Alpha<EncodedSrgb<ComponentTy>>) -> EncodedSrgb<ComponentTy>
fn from(col_alpha: Alpha<EncodedSrgb<ComponentTy>>) -> EncodedSrgb<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<GenericColor1<ComponentTy>>> for GenericColor1<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<GenericColor1<ComponentTy>>> for GenericColor1<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: Alpha<GenericColor1<ComponentTy>>
) -> GenericColor1<ComponentTy>
fn from( col_alpha: Alpha<GenericColor1<ComponentTy>> ) -> GenericColor1<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<GenericColor3<ComponentTy>>> for GenericColor3<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<GenericColor3<ComponentTy>>> for GenericColor3<ComponentTy>where
ComponentTy: Copy,
§fn from(
col_alpha: Alpha<GenericColor3<ComponentTy>>
) -> GenericColor3<ComponentTy>
fn from( col_alpha: Alpha<GenericColor3<ComponentTy>> ) -> GenericColor3<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<ICtCpHLG<ComponentTy>>> for ICtCpHLG<ComponentTy>where
ComponentTy: Copy,
§impl<ComponentTy> From<Alpha<ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<ICtCpPQ<ComponentTy>>> for ICtCpPQ<ComponentTy>where
ComponentTy: Copy,
§impl<ComponentTy> From<Alpha<LinearSrgb<ComponentTy>>> for LinearSrgb<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<LinearSrgb<ComponentTy>>> for LinearSrgb<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: Alpha<LinearSrgb<ComponentTy>>) -> LinearSrgb<ComponentTy>
fn from(col_alpha: Alpha<LinearSrgb<ComponentTy>>) -> LinearSrgb<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<Luminance<ComponentTy>>> for Luminance<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<Luminance<ComponentTy>>> for Luminance<ComponentTy>where
ComponentTy: Copy,
§impl<ComponentTy> From<Alpha<YPrimeCbCr<ComponentTy>>> for YPrimeCbCr<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<YPrimeCbCr<ComponentTy>>> for YPrimeCbCr<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: Alpha<YPrimeCbCr<ComponentTy>>) -> YPrimeCbCr<ComponentTy>
fn from(col_alpha: Alpha<YPrimeCbCr<ComponentTy>>) -> YPrimeCbCr<ComponentTy>
Converts to this type from the input type.
§impl<ComponentTy> From<Alpha<YPrimePbPr<ComponentTy>>> for YPrimePbPr<ComponentTy>where
ComponentTy: Copy,
impl<ComponentTy> From<Alpha<YPrimePbPr<ComponentTy>>> for YPrimePbPr<ComponentTy>where
ComponentTy: Copy,
§fn from(col_alpha: Alpha<YPrimePbPr<ComponentTy>>) -> YPrimePbPr<ComponentTy>
fn from(col_alpha: Alpha<YPrimePbPr<ComponentTy>>) -> YPrimePbPr<ComponentTy>
Converts to this type from the input type.
§impl From<Color> for Alpha<EncodedSrgb<f32>>
impl From<Color> for Alpha<EncodedSrgb<f32>>
§fn from(c: Color) -> Alpha<EncodedSrgb<f32>>
fn from(c: Color) -> Alpha<EncodedSrgb<f32>>
Converts to this type from the input type.
§impl From<Color> for Alpha<EncodedSrgb<f64>>
impl From<Color> for Alpha<EncodedSrgb<f64>>
§fn from(c: Color) -> Alpha<EncodedSrgb<f64>>
fn from(c: Color) -> Alpha<EncodedSrgb<f64>>
Converts to this type from the input type.
§impl From<Color> for Alpha<EncodedSrgb>
impl From<Color> for Alpha<EncodedSrgb>
§fn from(c: Color) -> Alpha<EncodedSrgb>
fn from(c: Color) -> Alpha<EncodedSrgb>
Converts to this type from the input type.
§impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<Rec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<GenericColor3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<GenericColor1<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 2]> for Alpha<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 Alpha<Luminance<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 2]> for Alpha<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 Alpha<Luma<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 2]> for Alpha<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 Alpha<AcesCg<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<Aces2065<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<AcesCc<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<AcesCct<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<DisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedDisplayP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<DciP3<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<DciXYZPrime<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<Bt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2020<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<Bt2100<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2100PQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedBt2100HLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<ICtCpPQ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<ICtCpHLG<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<CieXYZ<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<CieLab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<LinearSrgb<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<CieLCh<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<Oklab<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<Oklch<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<Hsl<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<Hsv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<YCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<YPrimeCbCr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<YPbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<YPrimePbPr<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<Yuv<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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 Alpha<EncodedRec709<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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<ComponentTy> Into<[ComponentTy; 4]> for Alpha<YCxCz<ComponentTy>>where
ComponentTy: Copy,
impl<ComponentTy> Into<[ComponentTy; 4]> for Alpha<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<ColorTy> PartialEq for Alpha<ColorTy>
impl<ColorTy> PartialEq for Alpha<ColorTy>
impl<ColorTy> Copy for Alpha<ColorTy>
impl<ColorTy> Eq for Alpha<ColorTy>
impl<ColorTy> StructuralPartialEq for Alpha<ColorTy>where
ColorTy: ColorType,
Auto Trait Implementations§
impl<ColorTy> Freeze for Alpha<ColorTy>
impl<ColorTy> RefUnwindSafe for Alpha<ColorTy>
impl<ColorTy> Send for Alpha<ColorTy>
impl<ColorTy> Sync for Alpha<ColorTy>
impl<ColorTy> Unpin for Alpha<ColorTy>
impl<ColorTy> UnwindSafe for Alpha<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