Struct palette::Alpha [−][src]
#[repr(C)]pub struct Alpha<C, T> { pub color: C, pub alpha: T, }
An alpha component wrapper for colors.
Fields
color: C
The color.
alpha: T
The transparency component. 0.0 is fully transparent and 1.0 is fully opaque.
Methods
impl<T, A> Alpha<Hsl<Srgb, T>, A> where
T: Component + Float,
A: Component,
[src]
impl<T, A> Alpha<Hsl<Srgb, T>, A> where
T: Component + Float,
A: Component,
Hsla
implementations.
pub fn new<H: Into<RgbHue<T>>>(
hue: H,
saturation: T,
lightness: T,
alpha: A
) -> Self
[src]
pub fn new<H: Into<RgbHue<T>>>(
hue: H,
saturation: T,
lightness: T,
alpha: A
) -> Self
HSL and transparency for linear sRGB.
impl<S, T, A> Alpha<Hsl<S, T>, A> where
T: Component + Float,
A: Component,
S: RgbSpace,
[src]
impl<S, T, A> Alpha<Hsl<S, T>, A> where
T: Component + Float,
A: Component,
S: RgbSpace,
Hsla
implementations.
pub fn with_wp<H: Into<RgbHue<T>>>(
hue: H,
saturation: T,
lightness: T,
alpha: A
) -> Self
[src]
pub fn with_wp<H: Into<RgbHue<T>>>(
hue: H,
saturation: T,
lightness: T,
alpha: A
) -> Self
Linear HSL and transparency.
pub fn into_components(self) -> (RgbHue<T>, T, T, A)
[src]
pub fn into_components(self) -> (RgbHue<T>, T, T, A)
Convert to a (hue, saturation, lightness, alpha)
tuple.
pub fn from_components<H: Into<RgbHue<T>>>(
(hue, saturation, lightness, alpha): (H, T, T, A)
) -> Self
[src]
pub fn from_components<H: Into<RgbHue<T>>>(
(hue, saturation, lightness, alpha): (H, T, T, A)
) -> Self
Convert from a (hue, saturation, lightness, alpha)
tuple.
impl<T, A> Alpha<Hsv<Srgb, T>, A> where
T: Component + Float,
A: Component,
[src]
impl<T, A> Alpha<Hsv<Srgb, T>, A> where
T: Component + Float,
A: Component,
Hsva
implementations.
pub fn new<H: Into<RgbHue<T>>>(
hue: H,
saturation: T,
value: T,
alpha: A
) -> Self
[src]
pub fn new<H: Into<RgbHue<T>>>(
hue: H,
saturation: T,
value: T,
alpha: A
) -> Self
HSV and transparency for linear sRGB.
impl<S, T, A> Alpha<Hsv<S, T>, A> where
T: Component + Float,
A: Component,
S: RgbSpace,
[src]
impl<S, T, A> Alpha<Hsv<S, T>, A> where
T: Component + Float,
A: Component,
S: RgbSpace,
Hsva
implementations.
pub fn with_wp<H: Into<RgbHue<T>>>(
hue: H,
saturation: T,
value: T,
alpha: A
) -> Self
[src]
pub fn with_wp<H: Into<RgbHue<T>>>(
hue: H,
saturation: T,
value: T,
alpha: A
) -> Self
Linear HSV and transparency.
pub fn into_components(self) -> (RgbHue<T>, T, T, A)
[src]
pub fn into_components(self) -> (RgbHue<T>, T, T, A)
Convert to a (hue, saturation, value, alpha)
tuple.
pub fn from_components<H: Into<RgbHue<T>>>(
(hue, saturation, value, alpha): (H, T, T, A)
) -> Self
[src]
pub fn from_components<H: Into<RgbHue<T>>>(
(hue, saturation, value, alpha): (H, T, T, A)
) -> Self
Convert from a (hue, saturation, value, alpha)
tuple.
impl<T, A> Alpha<Hwb<Srgb, T>, A> where
T: Component + Float,
A: Component,
[src]
impl<T, A> Alpha<Hwb<Srgb, T>, A> where
T: Component + Float,
A: Component,
Hwba
implementations.
pub fn new<H: Into<RgbHue<T>>>(
hue: H,
whiteness: T,
blackness: T,
alpha: A
) -> Self
[src]
pub fn new<H: Into<RgbHue<T>>>(
hue: H,
whiteness: T,
blackness: T,
alpha: A
) -> Self
HWB and transparency for linear sRGB.
impl<S, T, A> Alpha<Hwb<S, T>, A> where
T: Component + Float,
A: Component,
S: RgbSpace,
[src]
impl<S, T, A> Alpha<Hwb<S, T>, A> where
T: Component + Float,
A: Component,
S: RgbSpace,
Hwba
implementations.
pub fn with_wp<H: Into<RgbHue<T>>>(
hue: H,
whiteness: T,
blackness: T,
alpha: A
) -> Self
[src]
pub fn with_wp<H: Into<RgbHue<T>>>(
hue: H,
whiteness: T,
blackness: T,
alpha: A
) -> Self
Linear HWB and transparency.
pub fn into_components(self) -> (RgbHue<T>, T, T, A)
[src]
pub fn into_components(self) -> (RgbHue<T>, T, T, A)
Convert to a (hue, whiteness, blackness, alpha)
tuple.
pub fn from_components<H: Into<RgbHue<T>>>(
(hue, whiteness, blackness, alpha): (H, T, T, A)
) -> Self
[src]
pub fn from_components<H: Into<RgbHue<T>>>(
(hue, whiteness, blackness, alpha): (H, T, T, A)
) -> Self
Convert from a (hue, whiteness, blackness, alpha)
tuple.
impl<T, A> Alpha<Lab<D65, T>, A> where
T: Component + Float,
A: Component,
[src]
impl<T, A> Alpha<Lab<D65, T>, A> where
T: Component + Float,
A: Component,
Laba
implementations.
impl<Wp, T, A> Alpha<Lab<Wp, T>, A> where
T: Component + Float,
A: Component,
Wp: WhitePoint,
[src]
impl<Wp, T, A> Alpha<Lab<Wp, T>, A> where
T: Component + Float,
A: Component,
Wp: WhitePoint,
Laba
implementations.
pub fn with_wp(l: T, a: T, b: T, alpha: A) -> Self
[src]
pub fn with_wp(l: T, a: T, b: T, alpha: A) -> Self
CIE L*a*b* and transparency.
pub fn into_components(self) -> (T, T, T, A)
[src]
pub fn into_components(self) -> (T, T, T, A)
Convert to a (L\*, a\*, b\*, alpha)
tuple.
pub fn from_components((l, a, b, alpha): (T, T, T, A)) -> Self
[src]
pub fn from_components((l, a, b, alpha): (T, T, T, A)) -> Self
Convert from a (L\*, a\*, b\*, alpha)
tuple.
impl<T, A> Alpha<Lch<D65, T>, A> where
T: Component + Float,
A: Component,
[src]
impl<T, A> Alpha<Lch<D65, T>, A> where
T: Component + Float,
A: Component,
Lcha
implementations.
pub fn new<H: Into<LabHue<T>>>(l: T, chroma: T, hue: H, alpha: A) -> Self
[src]
pub fn new<H: Into<LabHue<T>>>(l: T, chroma: T, hue: H, alpha: A) -> Self
CIE L*C*h° and transparency with white point D65.
impl<Wp, T, A> Alpha<Lch<Wp, T>, A> where
T: Component + Float,
A: Component,
Wp: WhitePoint,
[src]
impl<Wp, T, A> Alpha<Lch<Wp, T>, A> where
T: Component + Float,
A: Component,
Wp: WhitePoint,
Lcha
implementations.
pub fn with_wp<H: Into<LabHue<T>>>(l: T, chroma: T, hue: H, alpha: A) -> Self
[src]
pub fn with_wp<H: Into<LabHue<T>>>(l: T, chroma: T, hue: H, alpha: A) -> Self
CIE L*C*h° and transparency.
pub fn into_components(self) -> (T, T, LabHue<T>, A)
[src]
pub fn into_components(self) -> (T, T, LabHue<T>, A)
Convert to a (L\*, C\*, h°, alpha)
tuple.
pub fn from_components<H: Into<LabHue<T>>>(
(l, chroma, hue, alpha): (T, T, H, A)
) -> Self
[src]
pub fn from_components<H: Into<LabHue<T>>>(
(l, chroma, hue, alpha): (T, T, H, A)
) -> Self
Convert from a (L\*, C\*, h°, alpha)
tuple.
impl<S, T, A> Alpha<Luma<S, T>, A> where
T: Component,
A: Component,
S: LumaStandard,
[src]
impl<S, T, A> Alpha<Luma<S, T>, A> where
T: Component,
A: Component,
S: LumaStandard,
Lumaa
implementations.
pub fn new(luma: T, alpha: A) -> Self
[src]
pub fn new(luma: T, alpha: A) -> Self
Create a luminance color with transparency.
pub fn into_format<U: Component, B: Component>(self) -> Alpha<Luma<S, U>, B>
[src]
pub fn into_format<U: Component, B: Component>(self) -> Alpha<Luma<S, U>, B>
Convert into another component type.
pub fn from_format<U: Component, B: Component>(
color: Alpha<Luma<S, U>, B>
) -> Self
[src]
pub fn from_format<U: Component, B: Component>(
color: Alpha<Luma<S, U>, B>
) -> Self
Convert from another component type.
pub fn into_components(self) -> (T, A)
[src]
pub fn into_components(self) -> (T, A)
Convert to a (luma, alpha)
tuple.
pub fn from_components((luma, alpha): (T, A)) -> Self
[src]
pub fn from_components((luma, alpha): (T, A)) -> Self
Convert from a (luma, alpha)
tuple.
impl<S, T, A> Alpha<Luma<S, T>, A> where
T: Component + Float,
A: Component,
S: LumaStandard,
[src]
impl<S, T, A> Alpha<Luma<S, T>, A> where
T: Component + Float,
A: Component,
S: LumaStandard,
Lumaa
implementations.
pub fn into_linear(self) -> Alpha<Luma<Linear<S::WhitePoint>, T>, A>
[src]
pub fn into_linear(self) -> Alpha<Luma<Linear<S::WhitePoint>, T>, A>
Convert the color to linear luminance with transparency.
pub fn from_linear(
color: Alpha<Luma<Linear<S::WhitePoint>, T>, A>
) -> Alpha<Luma<S, T>, A>
[src]
pub fn from_linear(
color: Alpha<Luma<Linear<S::WhitePoint>, T>, A>
) -> Alpha<Luma<S, T>, A>
Convert linear luminance to nonlinear luminance with transparency.
pub fn into_encoding<St: LumaStandard<WhitePoint = S::WhitePoint>>(
self
) -> Alpha<Luma<St, T>, A>
[src]
pub fn into_encoding<St: LumaStandard<WhitePoint = S::WhitePoint>>(
self
) -> Alpha<Luma<St, T>, A>
Convert the color to a different encoding with transparency.
pub fn from_encoding<St: LumaStandard<WhitePoint = S::WhitePoint>>(
color: Alpha<Luma<St, T>, A>
) -> Alpha<Luma<S, T>, A>
[src]
pub fn from_encoding<St: LumaStandard<WhitePoint = S::WhitePoint>>(
color: Alpha<Luma<St, T>, A>
) -> Alpha<Luma<S, T>, A>
Convert luminance from a different encoding with transparency.
impl<S: RgbStandard, T: Component, A: Component> Alpha<Rgb<S, T>, A>
[src]
impl<S: RgbStandard, T: Component, A: Component> Alpha<Rgb<S, T>, A>
Rgba
implementations.
pub fn new(red: T, green: T, blue: T, alpha: A) -> Self
[src]
pub fn new(red: T, green: T, blue: T, alpha: A) -> Self
Nonlinear RGB.
pub fn into_format<U: Component, B: Component>(self) -> Alpha<Rgb<S, U>, B>
[src]
pub fn into_format<U: Component, B: Component>(self) -> Alpha<Rgb<S, U>, B>
Convert into another component type.
pub fn from_format<U: Component, B: Component>(
color: Alpha<Rgb<S, U>, B>
) -> Self
[src]
pub fn from_format<U: Component, B: Component>(
color: Alpha<Rgb<S, U>, B>
) -> Self
Convert from another component type.
pub fn into_components(self) -> (T, T, T, A)
[src]
pub fn into_components(self) -> (T, T, T, A)
Convert to a (red, green, blue, alpha)
tuple.
pub fn from_components((red, green, blue, alpha): (T, T, T, A)) -> Self
[src]
pub fn from_components((red, green, blue, alpha): (T, T, T, A)) -> Self
Convert from a (red, green, blue, alpha)
tuple.
impl<S: RgbStandard, T: Component + Float, A: Component> Alpha<Rgb<S, T>, A>
[src]
impl<S: RgbStandard, T: Component + Float, A: Component> Alpha<Rgb<S, T>, A>
Rgba
implementations.
pub fn into_linear(self) -> Alpha<Rgb<Linear<S::Space>, T>, A>
[src]
pub fn into_linear(self) -> Alpha<Rgb<Linear<S::Space>, T>, A>
Convert the color to linear RGB with transparency.
pub fn from_linear(color: Alpha<Rgb<Linear<S::Space>, T>, A>) -> Self
[src]
pub fn from_linear(color: Alpha<Rgb<Linear<S::Space>, T>, A>) -> Self
Convert linear RGB to nonlinear RGB with transparency.
pub fn into_encoding<St: RgbStandard<Space = S::Space>>(
self
) -> Alpha<Rgb<St, T>, A>
[src]
pub fn into_encoding<St: RgbStandard<Space = S::Space>>(
self
) -> Alpha<Rgb<St, T>, A>
Convert the color to a different encoding with transparency.
pub fn from_encoding<St: RgbStandard<Space = S::Space>>(
color: Alpha<Rgb<St, T>, A>
) -> Self
[src]
pub fn from_encoding<St: RgbStandard<Space = S::Space>>(
color: Alpha<Rgb<St, T>, A>
) -> Self
Convert RGB from a different encoding with transparency.
impl<T, A> Alpha<Xyz<D65, T>, A> where
T: Component + Float,
A: Component,
[src]
impl<T, A> Alpha<Xyz<D65, T>, A> where
T: Component + Float,
A: Component,
Xyza
implementations.
pub fn new(x: T, y: T, luma: T, alpha: A) -> Self
[src]
pub fn new(x: T, y: T, luma: T, alpha: A) -> Self
CIE Yxy and transparency with white point D65.
impl<Wp, T, A> Alpha<Xyz<Wp, T>, A> where
T: Component + Float,
A: Component,
Wp: WhitePoint,
[src]
impl<Wp, T, A> Alpha<Xyz<Wp, T>, A> where
T: Component + Float,
A: Component,
Wp: WhitePoint,
Xyza
implementations.
pub fn with_wp(x: T, y: T, z: T, alpha: A) -> Self
[src]
pub fn with_wp(x: T, y: T, z: T, alpha: A) -> Self
CIE XYZ and transparency.
pub fn into_components(self) -> (T, T, T, A)
[src]
pub fn into_components(self) -> (T, T, T, A)
Convert to a (X, Y, Z, alpha)
tuple.
pub fn from_components((x, y, z, alpha): (T, T, T, A)) -> Self
[src]
pub fn from_components((x, y, z, alpha): (T, T, T, A)) -> Self
Convert from a (X, Y, Z, alpha)
tuple.
impl<T, A> Alpha<Yxy<D65, T>, A> where
T: Component + Float,
A: Component,
[src]
impl<T, A> Alpha<Yxy<D65, T>, A> where
T: Component + Float,
A: Component,
Yxya
implementations.
pub fn new(x: T, y: T, luma: T, alpha: A) -> Self
[src]
pub fn new(x: T, y: T, luma: T, alpha: A) -> Self
CIE Yxy and transparency with white point D65.
impl<Wp, T, A> Alpha<Yxy<Wp, T>, A> where
T: Component + Float,
A: Component,
Wp: WhitePoint,
[src]
impl<Wp, T, A> Alpha<Yxy<Wp, T>, A> where
T: Component + Float,
A: Component,
Wp: WhitePoint,
Yxya
implementations.
pub fn with_wp(x: T, y: T, luma: T, alpha: A) -> Self
[src]
pub fn with_wp(x: T, y: T, luma: T, alpha: A) -> Self
CIE Yxy and transparency.
pub fn into_components(self) -> (T, T, T, A)
[src]
pub fn into_components(self) -> (T, T, T, A)
Convert to a (x, y, luma)
, a.k.a. (x, y, Y)
tuple.
pub fn from_components((x, y, luma, alpha): (T, T, T, A)) -> Self
[src]
pub fn from_components((x, y, luma, alpha): (T, T, T, A)) -> Self
Convert from a (x, y, luma)
, a.k.a. (x, y, Y)
tuple.
impl<T: Float + Component> Alpha<Color<Srgb, T>, T>
[src]
impl<T: Float + Component> Alpha<Color<Srgb, T>, T>
Colora
implementations.
pub fn linear_y(luma: T, alpha: T) -> Colora<Srgb, T>
[src]
pub fn linear_y(luma: T, alpha: T) -> Colora<Srgb, T>
Linear luminance.
pub fn linear_rgb(red: T, green: T, blue: T, alpha: T) -> Colora<Srgb, T>
[src]
pub fn linear_rgb(red: T, green: T, blue: T, alpha: T) -> Colora<Srgb, T>
Linear RGB.
pub fn xyz(x: T, y: T, z: T, alpha: T) -> Colora<Srgb, T>
[src]
pub fn xyz(x: T, y: T, z: T, alpha: T) -> Colora<Srgb, T>
CIE XYZ.
pub fn yxy(x: T, y: T, luma: T, alpha: T) -> Colora<Srgb, T>
[src]
pub fn yxy(x: T, y: T, luma: T, alpha: T) -> Colora<Srgb, T>
CIE Yxy.
pub fn lab(l: T, a: T, b: T, alpha: T) -> Colora<Srgb, T>
[src]
pub fn lab(l: T, a: T, b: T, alpha: T) -> Colora<Srgb, T>
CIE L*a*b*.
pub fn lch(l: T, chroma: T, hue: LabHue<T>, alpha: T) -> Colora<Srgb, T>
[src]
pub fn lch(l: T, chroma: T, hue: LabHue<T>, alpha: T) -> Colora<Srgb, T>
CIE L*C*h°.
pub fn hsv(hue: RgbHue<T>, saturation: T, value: T, alpha: T) -> Colora<Srgb, T>
[src]
pub fn hsv(hue: RgbHue<T>, saturation: T, value: T, alpha: T) -> Colora<Srgb, T>
Linear HSV.
pub fn hsl(
hue: RgbHue<T>,
saturation: T,
lightness: T,
alpha: T
) -> Colora<Srgb, T>
[src]
pub fn hsl(
hue: RgbHue<T>,
saturation: T,
lightness: T,
alpha: T
) -> Colora<Srgb, T>
Linear HSL.
pub fn hwb(
hue: RgbHue<T>,
whiteness: T,
balckness: T,
alpha: T
) -> Colora<Srgb, T>
[src]
pub fn hwb(
hue: RgbHue<T>,
whiteness: T,
balckness: T,
alpha: T
) -> Colora<Srgb, T>
Linear HWB.
Trait Implementations
impl<C, T> From<Alpha<C, T>> for PreAlpha<C, T> where
C: ComponentWise<Scalar = T>,
T: Float,
[src]
impl<C, T> From<Alpha<C, T>> for PreAlpha<C, T> where
C: ComponentWise<Scalar = T>,
T: Float,
impl<C, T> From<PreAlpha<C, T>> for Alpha<C, T> where
C: ComponentWise<Scalar = T>,
T: Float,
[src]
impl<C, T> From<PreAlpha<C, T>> for Alpha<C, T> where
C: ComponentWise<Scalar = T>,
T: Float,
impl<C: Clone, T: Clone> Clone for Alpha<C, T>
[src]
impl<C: Clone, T: Clone> Clone for Alpha<C, T>
fn clone(&self) -> Alpha<C, T>
[src]
fn clone(&self) -> Alpha<C, T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<C: Copy, T: Copy> Copy for Alpha<C, T>
[src]
impl<C: Copy, T: Copy> Copy for Alpha<C, T>
impl<C: Debug, T: Debug> Debug for Alpha<C, T>
[src]
impl<C: Debug, T: Debug> Debug for Alpha<C, T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<C: PartialEq, T: PartialEq> PartialEq for Alpha<C, T>
[src]
impl<C: PartialEq, T: PartialEq> PartialEq for Alpha<C, T>
fn eq(&self, other: &Alpha<C, T>) -> bool
[src]
fn eq(&self, other: &Alpha<C, T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Alpha<C, T>) -> bool
[src]
fn ne(&self, other: &Alpha<C, T>) -> bool
This method tests for !=
.
impl<C, T> Deref for Alpha<C, T>
[src]
impl<C, T> Deref for Alpha<C, T>
type Target = C
The resulting type after dereferencing.
fn deref(&self) -> &C
[src]
fn deref(&self) -> &C
Dereferences the value.
impl<C, T> DerefMut for Alpha<C, T>
[src]
impl<C, T> DerefMut for Alpha<C, T>
impl<C: Mix> Mix for Alpha<C, C::Scalar>
[src]
impl<C: Mix> Mix for Alpha<C, C::Scalar>
type Scalar = C::Scalar
The type of the mixing factor.
fn mix(
&self,
other: &Alpha<C, C::Scalar>,
factor: C::Scalar
) -> Alpha<C, C::Scalar>
[src]
fn mix(
&self,
other: &Alpha<C, C::Scalar>,
factor: C::Scalar
) -> Alpha<C, C::Scalar>
Mix the color with an other color, by factor
. Read more
impl<C: Shade> Shade for Alpha<C, C::Scalar>
[src]
impl<C: Shade> Shade for Alpha<C, C::Scalar>
type Scalar = C::Scalar
The type of the lighten/darken amount.
fn lighten(&self, amount: C::Scalar) -> Alpha<C, C::Scalar>
[src]
fn lighten(&self, amount: C::Scalar) -> Alpha<C, C::Scalar>
Lighten the color by amount
.
fn darken(&self, amount: Self::Scalar) -> Self
[src]
fn darken(&self, amount: Self::Scalar) -> Self
Darken the color by amount
.
impl<C: GetHue, T> GetHue for Alpha<C, T>
[src]
impl<C: GetHue, T> GetHue for Alpha<C, T>
type Hue = C::Hue
The kind of hue unit this color space uses. Read more
fn get_hue(&self) -> Option<C::Hue>
[src]
fn get_hue(&self) -> Option<C::Hue>
Calculate a hue if possible. Read more
impl<C: Hue, T: Clone> Hue for Alpha<C, T>
[src]
impl<C: Hue, T: Clone> Hue for Alpha<C, T>
fn with_hue<H: Into<C::Hue>>(&self, hue: H) -> Alpha<C, T>
[src]
fn with_hue<H: Into<C::Hue>>(&self, hue: H) -> Alpha<C, T>
Return a new copy of self
, but with a specific hue.
fn shift_hue<H: Into<C::Hue>>(&self, amount: H) -> Alpha<C, T>
[src]
fn shift_hue<H: Into<C::Hue>>(&self, amount: H) -> Alpha<C, T>
Return a new copy of self
, but with the hue shifted by amount
.
impl<C: Saturate> Saturate for Alpha<C, C::Scalar>
[src]
impl<C: Saturate> Saturate for Alpha<C, C::Scalar>
type Scalar = C::Scalar
The type of the (de)saturation factor.
fn saturate(&self, factor: C::Scalar) -> Alpha<C, C::Scalar>
[src]
fn saturate(&self, factor: C::Scalar) -> Alpha<C, C::Scalar>
Increase the saturation by factor
.
fn desaturate(&self, factor: Self::Scalar) -> Self
[src]
fn desaturate(&self, factor: Self::Scalar) -> Self
Decrease the saturation by factor
.
impl<C: Limited, T: Component> Limited for Alpha<C, T>
[src]
impl<C: Limited, T: Component> Limited for Alpha<C, T>
fn is_valid(&self) -> bool
[src]
fn is_valid(&self) -> bool
Check if the color's components are within the expected ranges.
fn clamp(&self) -> Alpha<C, T>
[src]
fn clamp(&self) -> Alpha<C, T>
Return a new color where the components has been clamped to the nearest valid values. Read more
fn clamp_self(&mut self)
[src]
fn clamp_self(&mut self)
Clamp the color's components to the nearest valid values.
impl<C: Blend, T: Float> Blend for Alpha<C, T> where
C::Color: ComponentWise<Scalar = T>,
Alpha<C, T>: Into<Alpha<C::Color, T>> + From<Alpha<C::Color, T>>,
[src]
impl<C: Blend, T: Float> Blend for Alpha<C, T> where
C::Color: ComponentWise<Scalar = T>,
Alpha<C, T>: Into<Alpha<C::Color, T>> + From<Alpha<C::Color, T>>,
type Color = C::Color
The core color type. Typically Self
for color types without alpha.
fn into_premultiplied(self) -> PreAlpha<C::Color, T>
[src]
fn into_premultiplied(self) -> PreAlpha<C::Color, T>
Convert the color to premultiplied alpha.
fn from_premultiplied(color: PreAlpha<C::Color, T>) -> Alpha<C, T>
[src]
fn from_premultiplied(color: PreAlpha<C::Color, T>) -> Alpha<C, T>
Convert the color from premultiplied alpha.
fn blend<F>(self, destination: Self, blend_function: F) -> Self where
F: BlendFunction<Self::Color>,
[src]
fn blend<F>(self, destination: Self, blend_function: F) -> Self where
F: BlendFunction<Self::Color>,
Blend self, as the source color, with destination
, using blend_function
. Anything that implements BlendFunction
is acceptable, including functions and closures. Read more
fn over(self, other: Self) -> Self
[src]
fn over(self, other: Self) -> Self
Place self
over other
. This is the good old common alpha composition equation. Read more
fn inside(self, other: Self) -> Self
[src]
fn inside(self, other: Self) -> Self
Results in the parts of self
that overlaps the visible parts of other
. Read more
fn outside(self, other: Self) -> Self
[src]
fn outside(self, other: Self) -> Self
Results in the parts of self
that lies outside the visible parts of other
. Read more
fn atop(self, other: Self) -> Self
[src]
fn atop(self, other: Self) -> Self
Place self
over only the visible parts of other
.
fn xor(self, other: Self) -> Self
[src]
fn xor(self, other: Self) -> Self
Results in either self
or other
, where they do not overlap.
fn plus(self, other: Self) -> Self
[src]
fn plus(self, other: Self) -> Self
Add self
and other
. This uses the alpha component to regulate the effect, so it's not just plain component wise addition. Read more
fn multiply(self, other: Self) -> Self
[src]
fn multiply(self, other: Self) -> Self
Multiply self
with other
. This uses the alpha component to regulate the effect, so it's not just plain component wise multiplication. Read more
fn screen(self, other: Self) -> Self
[src]
fn screen(self, other: Self) -> Self
Make a color which is at least as light as self
or other
.
fn overlay(self, other: Self) -> Self
[src]
fn overlay(self, other: Self) -> Self
Multiply self
or other
if other is dark, or screen them if other
is light. This results in an S curve. Read more
fn darken(self, other: Self) -> Self
[src]
fn darken(self, other: Self) -> Self
Return the darkest parts of self
and other
.
fn lighten(self, other: Self) -> Self
[src]
fn lighten(self, other: Self) -> Self
Return the lightest parts of self
and other
.
fn dodge(self, other: Self) -> Self
[src]
fn dodge(self, other: Self) -> Self
Lighten other
to reflect self
. Results in other
if self
is black. Read more
fn burn(self, other: Self) -> Self
[src]
fn burn(self, other: Self) -> Self
Darken other
to reflect self
. Results in other
if self
is white. Read more
fn hard_light(self, other: Self) -> Self
[src]
fn hard_light(self, other: Self) -> Self
Multiply self
or other
if other is dark, or screen them if self
is light. This is similar to overlay
, but depends on self
instead of other
. Read more
fn soft_light(self, other: Self) -> Self
[src]
fn soft_light(self, other: Self) -> Self
Lighten other
if self
is light, or darken other
as if it's burned if self
is dark. The effect is increased if the components of self
is further from 0.5. Read more
fn difference(self, other: Self) -> Self
[src]
fn difference(self, other: Self) -> Self
Return the absolute difference between self
and other
. It's basically abs(self - other)
, but regulated by the alpha component. Read more
fn exclusion(self, other: Self) -> Self
[src]
fn exclusion(self, other: Self) -> Self
Similar to difference
, but appears to result in a lower contrast. other
is inverted if self
is white, and preserved if self
is black. Read more
impl<C: ComponentWise<Scalar = T>, T: Clone> ComponentWise for Alpha<C, T>
[src]
impl<C: ComponentWise<Scalar = T>, T: Clone> ComponentWise for Alpha<C, T>
type Scalar = T
The scalar type for color components.
fn component_wise<F: FnMut(T, T) -> T>(
&self,
other: &Alpha<C, T>,
f: F
) -> Alpha<C, T>
[src]
fn component_wise<F: FnMut(T, T) -> T>(
&self,
other: &Alpha<C, T>,
f: F
) -> Alpha<C, T>
Perform a binary operation on this and an other color.
fn component_wise_self<F: FnMut(T) -> T>(&self, f: F) -> Alpha<C, T>
[src]
fn component_wise_self<F: FnMut(T) -> T>(&self, f: F) -> Alpha<C, T>
Perform a unary operation on this color.
impl<T, C: Pixel<T>> Pixel<T> for Alpha<C, T>
[src]
impl<T, C: Pixel<T>> Pixel<T> for Alpha<C, T>
const CHANNELS: usize
CHANNELS: usize = <C>::CHANNELS + 1
The number of color channels.
fn as_raw<P: RawPixel<T> + ?Sized>(&self) -> &P
[src]
fn as_raw<P: RawPixel<T> + ?Sized>(&self) -> &P
Cast as a reference to raw color components.
fn as_raw_mut<P: RawPixel<T> + ?Sized>(&mut self) -> &mut P
[src]
fn as_raw_mut<P: RawPixel<T> + ?Sized>(&mut self) -> &mut P
Cast as a mutable reference to raw color components.
fn into_raw<P: RawPixelSized<T>>(self) -> P
[src]
fn into_raw<P: RawPixelSized<T>>(self) -> P
Convert from raw color components.
fn from_raw<P: RawPixel<T> + ?Sized>(pixel: &P) -> &Self
[src]
fn from_raw<P: RawPixel<T> + ?Sized>(pixel: &P) -> &Self
Cast from a reference to raw color components.
fn from_raw_mut<P: RawPixel<T> + ?Sized>(pixel: &mut P) -> &mut Self
[src]
fn from_raw_mut<P: RawPixel<T> + ?Sized>(pixel: &mut P) -> &mut Self
Cast from a mutable reference to raw color components.
fn from_raw_slice(slice: &[T]) -> &[Self]
[src]
fn from_raw_slice(slice: &[T]) -> &[Self]
Cast a slice of raw color components to a slice of colors. Read more
fn from_raw_slice_mut(slice: &mut [T]) -> &mut [Self]
[src]
fn from_raw_slice_mut(slice: &mut [T]) -> &mut [Self]
Cast a mutable slice of raw color components to a mutable slice of colors. Read more
fn into_raw_slice(slice: &[Self]) -> &[T]
[src]
fn into_raw_slice(slice: &[Self]) -> &[T]
Cast a slice of colors to a slice of raw color components. Read more
fn into_raw_slice_mut(slice: &mut [Self]) -> &mut [T]
[src]
fn into_raw_slice_mut(slice: &mut [Self]) -> &mut [T]
Cast a mutable slice of colors to a mutable slice of raw color components. Read more
impl<C: Default, T: Component> Default for Alpha<C, T>
[src]
impl<C: Default, T: Component> Default for Alpha<C, T>
impl<C, T> ApproxEq for Alpha<C, T> where
C: ApproxEq<Epsilon = T::Epsilon>,
T: ApproxEq,
T::Epsilon: Clone,
[src]
impl<C, T> ApproxEq for Alpha<C, T> where
C: ApproxEq<Epsilon = T::Epsilon>,
T: ApproxEq,
T::Epsilon: Clone,
type Epsilon = T::Epsilon
Used for specifying relative comparisons.
fn default_epsilon() -> Self::Epsilon
[src]
fn default_epsilon() -> Self::Epsilon
The default tolerance to use when testing values that are close together. Read more
fn default_max_relative() -> Self::Epsilon
[src]
fn default_max_relative() -> Self::Epsilon
The default relative tolerance for testing values that are far-apart. Read more
fn default_max_ulps() -> u32
[src]
fn default_max_ulps() -> u32
The default ULPs to tolerate when testing values that are far-apart. Read more
fn relative_eq(
&self,
other: &Alpha<C, T>,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
fn relative_eq(
&self,
other: &Alpha<C, T>,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
A test for equality that uses a relative comparison if the values are far apart.
fn ulps_eq(
&self,
other: &Alpha<C, T>,
epsilon: Self::Epsilon,
max_ulps: u32
) -> bool
[src]
fn ulps_eq(
&self,
other: &Alpha<C, T>,
epsilon: Self::Epsilon,
max_ulps: u32
) -> bool
A test for equality that uses units in the last place (ULP) if the values are far apart.
fn relative_ne(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
[src]
fn relative_ne(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
The inverse of ApproxEq::relative_eq
.
fn ulps_ne(&self, other: &Self, epsilon: Self::Epsilon, max_ulps: u32) -> bool
[src]
fn ulps_ne(&self, other: &Self, epsilon: Self::Epsilon, max_ulps: u32) -> bool
The inverse of ApproxEq::ulps_eq
.
impl<C: Add, T: Float> Add for Alpha<C, T>
[src]
impl<C: Add, T: Float> Add for Alpha<C, T>
type Output = Alpha<C::Output, <T as Add>::Output>
The resulting type after applying the +
operator.
fn add(self, other: Alpha<C, T>) -> Self::Output
[src]
fn add(self, other: Alpha<C, T>) -> Self::Output
Performs the +
operation.
impl<T: Add + Clone, C: Add<T>> Add<T> for Alpha<C, T>
[src]
impl<T: Add + Clone, C: Add<T>> Add<T> for Alpha<C, T>
type Output = Alpha<C::Output, <T as Add>::Output>
The resulting type after applying the +
operator.
fn add(self, c: T) -> Self::Output
[src]
fn add(self, c: T) -> Self::Output
Performs the +
operation.
impl<C: Sub, T: Float> Sub for Alpha<C, T>
[src]
impl<C: Sub, T: Float> Sub for Alpha<C, T>
type Output = Alpha<C::Output, <T as Sub>::Output>
The resulting type after applying the -
operator.
fn sub(self, other: Alpha<C, T>) -> Self::Output
[src]
fn sub(self, other: Alpha<C, T>) -> Self::Output
Performs the -
operation.
impl<T: Sub + Clone, C: Sub<T>> Sub<T> for Alpha<C, T>
[src]
impl<T: Sub + Clone, C: Sub<T>> Sub<T> for Alpha<C, T>
type Output = Alpha<C::Output, <T as Sub>::Output>
The resulting type after applying the -
operator.
fn sub(self, c: T) -> Self::Output
[src]
fn sub(self, c: T) -> Self::Output
Performs the -
operation.
impl<C: Mul, T: Float> Mul for Alpha<C, T>
[src]
impl<C: Mul, T: Float> Mul for Alpha<C, T>
type Output = Alpha<C::Output, <T as Mul>::Output>
The resulting type after applying the *
operator.
fn mul(self, other: Alpha<C, T>) -> Self::Output
[src]
fn mul(self, other: Alpha<C, T>) -> Self::Output
Performs the *
operation.
impl<T: Mul + Clone, C: Mul<T>> Mul<T> for Alpha<C, T>
[src]
impl<T: Mul + Clone, C: Mul<T>> Mul<T> for Alpha<C, T>
type Output = Alpha<C::Output, <T as Mul>::Output>
The resulting type after applying the *
operator.
fn mul(self, c: T) -> Self::Output
[src]
fn mul(self, c: T) -> Self::Output
Performs the *
operation.
impl<C: Div, T: Float> Div for Alpha<C, T>
[src]
impl<C: Div, T: Float> Div for Alpha<C, T>
type Output = Alpha<C::Output, <T as Div>::Output>
The resulting type after applying the /
operator.
fn div(self, other: Alpha<C, T>) -> Self::Output
[src]
fn div(self, other: Alpha<C, T>) -> Self::Output
Performs the /
operation.
impl<T: Div + Clone, C: Div<T>> Div<T> for Alpha<C, T>
[src]
impl<T: Div + Clone, C: Div<T>> Div<T> for Alpha<C, T>
type Output = Alpha<C::Output, <T as Div>::Output>
The resulting type after applying the /
operator.
fn div(self, c: T) -> Self::Output
[src]
fn div(self, c: T) -> Self::Output
Performs the /
operation.
impl<C, T, P: ?Sized> AsRef<P> for Alpha<C, T> where
C: Pixel<T>,
P: RawPixel<T>,
[src]
impl<C, T, P: ?Sized> AsRef<P> for Alpha<C, T> where
C: Pixel<T>,
P: RawPixel<T>,
impl<C, T, P: ?Sized> AsMut<P> for Alpha<C, T> where
C: Pixel<T>,
P: RawPixel<T>,
[src]
impl<C, T, P: ?Sized> AsMut<P> for Alpha<C, T> where
C: Pixel<T>,
P: RawPixel<T>,
impl<C, T: Component> From<C> for Alpha<C, T>
[src]
impl<C, T: Component> From<C> for Alpha<C, T>
impl<C, T> LowerHex for Alpha<C, T> where
T: LowerHex,
C: LowerHex,
[src]
impl<C, T> LowerHex for Alpha<C, T> where
T: LowerHex,
C: LowerHex,
impl<C, T> UpperHex for Alpha<C, T> where
T: UpperHex,
C: UpperHex,
[src]
impl<C, T> UpperHex for Alpha<C, T> where
T: UpperHex,
C: UpperHex,
impl<S, T, _S> From<Rgb<_S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Rgb<_S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Luma<_S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Luma<_S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Hsv<S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Hsv<S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Hwb<S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Hwb<S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Lab<S::WhitePoint, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Lab<S::WhitePoint, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Lab<S::WhitePoint, T>) -> Self
[src]
fn from(color: Lab<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Lch<S::WhitePoint, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Lch<S::WhitePoint, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Lch<S::WhitePoint, T>) -> Self
[src]
fn from(color: Lch<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Xyz<S::WhitePoint, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Xyz<S::WhitePoint, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Xyz<S::WhitePoint, T>) -> Self
[src]
fn from(color: Xyz<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Yxy<S::WhitePoint, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Yxy<S::WhitePoint, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Yxy<S::WhitePoint, T>) -> Self
[src]
fn from(color: Yxy<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Color<S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Color<S, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Color<S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Color<S, T>, T>> for Hsl<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Color<S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Color<S, T>, T>> for Alpha<Hsl<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S: RgbSpace, T: Component + Float, H: Into<RgbHue<T>>, A: Component> From<(H, T, T, A)> for Alpha<Hsl<S, T>, A>
[src]
impl<S: RgbSpace, T: Component + Float, H: Into<RgbHue<T>>, A: Component> From<(H, T, T, A)> for Alpha<Hsl<S, T>, A>
impl<S: RgbSpace, T: Component + Float, A: Component> Into<(RgbHue<T>, T, T, A)> for Alpha<Hsl<S, T>, A>
[src]
impl<S: RgbSpace, T: Component + Float, A: Component> Into<(RgbHue<T>, T, T, A)> for Alpha<Hsl<S, T>, A>
impl<S, T, _S> From<Rgb<_S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Rgb<_S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Luma<_S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Luma<_S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T> From<Hsl<S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Hsl<S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Hwb<S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Hwb<S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Lab<S::WhitePoint, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Lab<S::WhitePoint, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Lab<S::WhitePoint, T>) -> Self
[src]
fn from(color: Lab<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Lch<S::WhitePoint, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Lch<S::WhitePoint, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Lch<S::WhitePoint, T>) -> Self
[src]
fn from(color: Lch<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Xyz<S::WhitePoint, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Xyz<S::WhitePoint, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Xyz<S::WhitePoint, T>) -> Self
[src]
fn from(color: Xyz<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Yxy<S::WhitePoint, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Yxy<S::WhitePoint, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Yxy<S::WhitePoint, T>) -> Self
[src]
fn from(color: Yxy<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Color<S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Color<S, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Color<S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Color<S, T>, T>> for Hsv<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Color<S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Color<S, T>, T>> for Alpha<Hsv<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S: RgbSpace, T: Component + Float, H: Into<RgbHue<T>>, A: Component> From<(H, T, T, A)> for Alpha<Hsv<S, T>, A>
[src]
impl<S: RgbSpace, T: Component + Float, H: Into<RgbHue<T>>, A: Component> From<(H, T, T, A)> for Alpha<Hsv<S, T>, A>
impl<S: RgbSpace, T: Component + Float, A: Component> Into<(RgbHue<T>, T, T, A)> for Alpha<Hsv<S, T>, A>
[src]
impl<S: RgbSpace, T: Component + Float, A: Component> Into<(RgbHue<T>, T, T, A)> for Alpha<Hsv<S, T>, A>
impl<S, T, _S> From<Rgb<_S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Rgb<_S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
[src]
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: RgbStandard<Space = S>,
impl<S, T, _S> From<Luma<_S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Luma<_S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T> From<Hsl<S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Hsl<S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Hsv<S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Hsv<S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Lab<S::WhitePoint, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Lab<S::WhitePoint, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Lab<S::WhitePoint, T>) -> Self
[src]
fn from(color: Lab<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Lch<S::WhitePoint, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Lch<S::WhitePoint, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Lch<S::WhitePoint, T>) -> Self
[src]
fn from(color: Lch<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Xyz<S::WhitePoint, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Xyz<S::WhitePoint, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Xyz<S::WhitePoint, T>) -> Self
[src]
fn from(color: Xyz<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Yxy<S::WhitePoint, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Yxy<S::WhitePoint, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Yxy<S::WhitePoint, T>) -> Self
[src]
fn from(color: Yxy<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Color<S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Color<S, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Color<S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Color<S, T>, T>> for Hwb<S, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S, T> From<Alpha<Color<S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Color<S, T>, T>> for Alpha<Hwb<S, T>, T> where
T: Component + Float,
S: RgbSpace,
T: Component + Float,
impl<S: RgbSpace, T: Component + Float, H: Into<RgbHue<T>>, A: Component> From<(H, T, T, A)> for Alpha<Hwb<S, T>, A>
[src]
impl<S: RgbSpace, T: Component + Float, H: Into<RgbHue<T>>, A: Component> From<(H, T, T, A)> for Alpha<Hwb<S, T>, A>
impl<S: RgbSpace, T: Component + Float, A: Component> Into<(RgbHue<T>, T, T, A)> for Alpha<Hwb<S, T>, A>
[src]
impl<S: RgbSpace, T: Component + Float, A: Component> Into<(RgbHue<T>, T, T, A)> for Alpha<Hwb<S, T>, A>
impl<Wp, T, _S> From<Rgb<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Rgb<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Luma<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Luma<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hsl<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hsl<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hsv<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hsv<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hwb<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hwb<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Lch<Wp, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Lch<Wp, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Xyz<Wp, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Xyz<Wp, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Yxy<Wp, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Yxy<Wp, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T, _S> From<Color<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Color<_S, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Lab<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Lab<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp: WhitePoint, T: Component + Float, A: Component> From<(T, T, T, A)> for Alpha<Lab<Wp, T>, A>
[src]
impl<Wp: WhitePoint, T: Component + Float, A: Component> From<(T, T, T, A)> for Alpha<Lab<Wp, T>, A>
impl<Wp: WhitePoint, T: Component + Float, A: Component> Into<(T, T, T, A)> for Alpha<Lab<Wp, T>, A>
[src]
impl<Wp: WhitePoint, T: Component + Float, A: Component> Into<(T, T, T, A)> for Alpha<Lab<Wp, T>, A>
impl<Wp, T, _S> From<Rgb<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Rgb<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Luma<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Luma<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hsl<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hsl<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hsv<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hsv<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hwb<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hwb<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T> From<Lab<Wp, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Lab<Wp, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Xyz<Wp, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Xyz<Wp, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Yxy<Wp, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Yxy<Wp, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T, _S> From<Color<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Color<_S, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Lch<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Lch<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp: WhitePoint, T: Component + Float, H: Into<LabHue<T>>, A: Component> From<(T, T, H, A)> for Alpha<Lch<Wp, T>, A>
[src]
impl<Wp: WhitePoint, T: Component + Float, H: Into<LabHue<T>>, A: Component> From<(T, T, H, A)> for Alpha<Lch<Wp, T>, A>
impl<Wp: WhitePoint, T: Component + Float, A: Component> Into<(T, T, LabHue<T>, A)> for Alpha<Lch<Wp, T>, A>
[src]
impl<Wp: WhitePoint, T: Component + Float, A: Component> Into<(T, T, LabHue<T>, A)> for Alpha<Lch<Wp, T>, A>
impl<S, T, _S> From<Rgb<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Rgb<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Luma<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: LumaStandard<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Hsl<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Hsl<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Hsl<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Hsl<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Hsv<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Hsv<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Hsv<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Hsv<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Hwb<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Hwb<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Hwb<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Hwb<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T> From<Lab<S::WhitePoint, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Lab<S::WhitePoint, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Lab<S::WhitePoint, T>) -> Self
[src]
fn from(color: Lab<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Lch<S::WhitePoint, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Lch<S::WhitePoint, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Lch<S::WhitePoint, T>) -> Self
[src]
fn from(color: Lch<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Xyz<S::WhitePoint, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Xyz<S::WhitePoint, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Xyz<S::WhitePoint, T>) -> Self
[src]
fn from(color: Xyz<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Yxy<S::WhitePoint, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Yxy<S::WhitePoint, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Yxy<S::WhitePoint, T>) -> Self
[src]
fn from(color: Yxy<S::WhitePoint, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S, T, _S> From<Color<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Color<_S, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Color<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Color<_S, T>, T>> for Luma<S, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
[src]
impl<S, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Luma<S, T>, T> where
T: Component,
S: LumaStandard,
T: Component + Float,
_S: RgbSpace<WhitePoint = S::WhitePoint>,
impl<S: LumaStandard, T: Component, A: Component> From<(T, A)> for Alpha<Luma<S, T>, A>
[src]
impl<S: LumaStandard, T: Component, A: Component> From<(T, A)> for Alpha<Luma<S, T>, A>
impl<S: LumaStandard, T: Component, A: Component> Into<(T, A)> for Alpha<Luma<S, T>, A>
[src]
impl<S: LumaStandard, T: Component, A: Component> Into<(T, A)> for Alpha<Luma<S, T>, A>
impl<S: RgbStandard, T: Component, _S> From<Alpha<Rgb<_S, T>, T>> for Rgb<S, T> where
T: Component + Float,
_S: RgbStandard<Space = S::Space>,
[src]
impl<S: RgbStandard, T: Component, _S> From<Alpha<Rgb<_S, T>, T>> for Rgb<S, T> where
T: Component + Float,
_S: RgbStandard<Space = S::Space>,
impl<S: RgbStandard, T: Component, _S> From<Luma<_S, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
_S: LumaStandard<WhitePoint = <S::Space as RgbSpace>::WhitePoint>,
[src]
impl<S: RgbStandard, T: Component, _S> From<Luma<_S, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
_S: LumaStandard<WhitePoint = <S::Space as RgbSpace>::WhitePoint>,
impl<S: RgbStandard, T: Component, _S> From<Alpha<Luma<_S, T>, T>> for Rgb<S, T> where
T: Component + Float,
_S: LumaStandard<WhitePoint = <S::Space as RgbSpace>::WhitePoint>,
[src]
impl<S: RgbStandard, T: Component, _S> From<Alpha<Luma<_S, T>, T>> for Rgb<S, T> where
T: Component + Float,
_S: LumaStandard<WhitePoint = <S::Space as RgbSpace>::WhitePoint>,
impl<S: RgbStandard, T: Component, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
_S: LumaStandard<WhitePoint = <S::Space as RgbSpace>::WhitePoint>,
[src]
impl<S: RgbStandard, T: Component, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
_S: LumaStandard<WhitePoint = <S::Space as RgbSpace>::WhitePoint>,
impl<S: RgbStandard, T: Component> From<Hsl<S::Space, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Hsl<S::Space, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Hsl<S::Space, T>, T>> for Rgb<S, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Hsl<S::Space, T>, T>> for Rgb<S, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Hsl<S::Space, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Hsl<S::Space, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Hsv<S::Space, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Hsv<S::Space, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Hsv<S::Space, T>, T>> for Rgb<S, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Hsv<S::Space, T>, T>> for Rgb<S, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Hsv<S::Space, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Hsv<S::Space, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Hwb<S::Space, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Hwb<S::Space, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Hwb<S::Space, T>, T>> for Rgb<S, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Hwb<S::Space, T>, T>> for Rgb<S, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Hwb<S::Space, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Hwb<S::Space, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Lab<<S::Space as RgbSpace>::WhitePoint, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Lab<<S::Space as RgbSpace>::WhitePoint, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Lab<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Rgb<S, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Lab<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Rgb<S, T> where
T: Component + Float,
fn from(color: Alpha<Lab<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S: RgbStandard, T: Component> From<Alpha<Lab<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Lab<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
fn from(color: Alpha<Lab<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lab<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S: RgbStandard, T: Component> From<Lch<<S::Space as RgbSpace>::WhitePoint, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Lch<<S::Space as RgbSpace>::WhitePoint, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Lch<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Rgb<S, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Lch<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Rgb<S, T> where
T: Component + Float,
fn from(color: Alpha<Lch<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S: RgbStandard, T: Component> From<Alpha<Lch<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Lch<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
fn from(color: Alpha<Lch<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Lch<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S: RgbStandard, T: Component> From<Xyz<<S::Space as RgbSpace>::WhitePoint, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Xyz<<S::Space as RgbSpace>::WhitePoint, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Xyz<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Rgb<S, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Xyz<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Rgb<S, T> where
T: Component + Float,
fn from(color: Alpha<Xyz<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S: RgbStandard, T: Component> From<Alpha<Xyz<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Xyz<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
fn from(color: Alpha<Xyz<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Xyz<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S: RgbStandard, T: Component> From<Yxy<<S::Space as RgbSpace>::WhitePoint, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Yxy<<S::Space as RgbSpace>::WhitePoint, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Yxy<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Rgb<S, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Yxy<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Rgb<S, T> where
T: Component + Float,
fn from(color: Alpha<Yxy<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S: RgbStandard, T: Component> From<Alpha<Yxy<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Yxy<<S::Space as RgbSpace>::WhitePoint, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
fn from(color: Alpha<Yxy<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
[src]
fn from(color: Alpha<Yxy<<S::Space as RgbSpace>::WhitePoint, T>, T>) -> Self
Performs the conversion.
impl<S: RgbStandard, T: Component> From<Color<S::Space, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Color<S::Space, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Color<S::Space, T>, T>> for Rgb<S, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Color<S::Space, T>, T>> for Rgb<S, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component> From<Alpha<Color<S::Space, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
[src]
impl<S: RgbStandard, T: Component> From<Alpha<Color<S::Space, T>, T>> for Alpha<Rgb<S, T>, T> where
T: Component + Float,
impl<S: RgbStandard, T: Component, A: Component> From<(T, T, T, A)> for Alpha<Rgb<S, T>, A>
[src]
impl<S: RgbStandard, T: Component, A: Component> From<(T, T, T, A)> for Alpha<Rgb<S, T>, A>
impl<S: RgbStandard, T: Component, A: Component> Into<(T, T, T, A)> for Alpha<Rgb<S, T>, A>
[src]
impl<S: RgbStandard, T: Component, A: Component> Into<(T, T, T, A)> for Alpha<Rgb<S, T>, A>
impl<Wp, T, _S> From<Rgb<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Rgb<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Luma<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Luma<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hsl<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hsl<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hsv<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hsv<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hwb<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hwb<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T> From<Lab<Wp, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Lab<Wp, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Lch<Wp, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Lch<Wp, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Yxy<Wp, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Yxy<Wp, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T, _S> From<Color<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Color<_S, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Xyz<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Xyz<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp: WhitePoint, T: Component + Float, A: Component> From<(T, T, T, A)> for Alpha<Xyz<Wp, T>, A>
[src]
impl<Wp: WhitePoint, T: Component + Float, A: Component> From<(T, T, T, A)> for Alpha<Xyz<Wp, T>, A>
impl<Wp: WhitePoint, T: Component + Float, A: Component> Into<(T, T, T, A)> for Alpha<Xyz<Wp, T>, A>
[src]
impl<Wp: WhitePoint, T: Component + Float, A: Component> Into<(T, T, T, A)> for Alpha<Xyz<Wp, T>, A>
impl<Wp, T, _S> From<Rgb<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Rgb<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Rgb<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbStandard,
_S::Space: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Luma<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Luma<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Luma<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: LumaStandard<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hsl<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hsl<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsl<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hsv<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hsv<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hsv<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Hwb<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Hwb<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Hwb<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T> From<Lab<Wp, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Lab<Wp, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lab<Wp, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Lch<Wp, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Lch<Wp, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Lch<Wp, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Xyz<Wp, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Xyz<Wp, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Xyz<Wp, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
[src]
impl<Wp, T> From<Alpha<Yxy<Wp, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
impl<Wp, T, _S> From<Color<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Color<_S, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Yxy<Wp, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
[src]
impl<Wp, T, _S> From<Alpha<Color<_S, T>, T>> for Alpha<Yxy<Wp, T>, T> where
T: Component + Float,
Wp: WhitePoint,
T: Component + Float,
_S: RgbSpace<WhitePoint = Wp>,
impl<Wp: WhitePoint, T: Component + Float, A: Component> From<(T, T, T, A)> for Alpha<Yxy<Wp, T>, A>
[src]
impl<Wp: WhitePoint, T: Component + Float, A: Component> From<(T, T, T, A)> for Alpha<Yxy<Wp, T>, A>
impl<Wp: WhitePoint, T: Component + Float, A: Component> Into<(T, T, T, A)> for Alpha<Yxy<Wp, T>, A>
[src]
impl<Wp: WhitePoint, T: Component + Float, A: Component> Into<(T, T, T, A)> for Alpha<Yxy<Wp, T>, A>
impl<S, T> From<Alpha<Luma<Linear<S::WhitePoint>, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Luma<Linear<S::WhitePoint>, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
fn from(color: Alpha<Luma<Linear<S::WhitePoint>, T>, T>) -> Color<S, T>
[src]
fn from(color: Alpha<Luma<Linear<S::WhitePoint>, T>, T>) -> Color<S, T>
Performs the conversion.
impl<S, T> From<Alpha<Luma<Linear<S::WhitePoint>, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Luma<Linear<S::WhitePoint>, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
fn from(
color: Alpha<Luma<Linear<S::WhitePoint>, T>, T>
) -> Alpha<Color<S, T>, T>
[src]
fn from(
color: Alpha<Luma<Linear<S::WhitePoint>, T>, T>
) -> Alpha<Color<S, T>, T>
Performs the conversion.
impl<S, T> From<Alpha<Rgb<Linear<S>, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Rgb<Linear<S>, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Rgb<Linear<S>, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Rgb<Linear<S>, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Xyz<S::WhitePoint, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Alpha<Color<S, T>, T>
[src]
fn from(color: Alpha<Xyz<S::WhitePoint, T>, T>) -> Alpha<Color<S, T>, T>
Performs the conversion.
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Yxy<S::WhitePoint, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Alpha<Color<S, T>, T>
[src]
fn from(color: Alpha<Yxy<S::WhitePoint, T>, T>) -> Alpha<Color<S, T>, T>
Performs the conversion.
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Lab<S::WhitePoint, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Alpha<Color<S, T>, T>
[src]
fn from(color: Alpha<Lab<S::WhitePoint, T>, T>) -> Alpha<Color<S, T>, T>
Performs the conversion.
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Lch<S::WhitePoint, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Alpha<Color<S, T>, T>
[src]
fn from(color: Alpha<Lch<S::WhitePoint, T>, T>) -> Alpha<Color<S, T>, T>
Performs the conversion.
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Hsv<S, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Hsl<S, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Color<S, T> where
T: Float + Component,
S: RgbSpace,
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,
[src]
impl<S, T> From<Alpha<Hwb<S, T>, T>> for Alpha<Color<S, T>, T> where
T: Float + Component,
S: RgbSpace,