[−][src]Trait nannou::color::IntoColor
IntoColor provides conversion between the colors.
It requires into into_xyz and derives conversion to other colors as a default from this. These defaults must be overridden when direct conversion exists between colors.
Required methods
Loading content...Provided methods
fn into_yxy(self) -> Yxy<T>
Convert into Yxy color space
fn into_lab(self) -> Lab<T>
Convert into Lab* color space
fn into_lch(self) -> Lch<T>
Convert into LCh° color space
fn into_rgb(self) -> Rgb<T>
Convert into RGB color space.
fn into_hsl(self) -> Hsl<T>
Convert into HSL color space
fn into_hsv(self) -> Hsv<T>
Convert into HSV color space
fn into_hwb(self) -> Hwb<T>
Convert into HWB color space
fn into_luma(self) -> Luma<T>
Convert into Luma
Implementors
impl<T> IntoColor<T> for Hwb<T> where
T: Float,
[src]
T: Float,
fn into_xyz(self) -> Xyz<T>
[src]
fn into_yxy(self) -> Yxy<T>
[src]
fn into_lab(self) -> Lab<T>
[src]
fn into_lch(self) -> Lch<T>
[src]
fn into_rgb(self) -> Rgb<T>
[src]
fn into_hsl(self) -> Hsl<T>
[src]
fn into_hsv(self) -> Hsv<T>
[src]
fn into_luma(self) -> Luma<T>
[src]
fn into_hwb(self) -> Hwb<T>
[src]
impl<T> IntoColor<T> for Lab<T> where
T: Float,
[src]
T: Float,
fn into_xyz(self) -> Xyz<T>
[src]
fn into_yxy(self) -> Yxy<T>
[src]
fn into_lab(self) -> Lab<T>
[src]
fn into_lch(self) -> Lch<T>
[src]
fn into_rgb(self) -> Rgb<T>
[src]
fn into_hsl(self) -> Hsl<T>
[src]
fn into_hsv(self) -> Hsv<T>
[src]
fn into_luma(self) -> Luma<T>
[src]
fn into_hwb(self) -> Hwb<T>
[src]
impl<T> IntoColor<T> for Lch<T> where
T: Float,
[src]
T: Float,
fn into_xyz(self) -> Xyz<T>
[src]
fn into_yxy(self) -> Yxy<T>
[src]
fn into_lab(self) -> Lab<T>
[src]
fn into_lch(self) -> Lch<T>
[src]
fn into_rgb(self) -> Rgb<T>
[src]
fn into_hsl(self) -> Hsl<T>
[src]
fn into_hsv(self) -> Hsv<T>
[src]
fn into_luma(self) -> Luma<T>
[src]
fn into_hwb(self) -> Hwb<T>
[src]
impl<T> IntoColor<T> for Luma<T> where
T: Float,
[src]
T: Float,
fn into_xyz(self) -> Xyz<T>
[src]
fn into_yxy(self) -> Yxy<T>
[src]
fn into_lab(self) -> Lab<T>
[src]
fn into_lch(self) -> Lch<T>
[src]
fn into_rgb(self) -> Rgb<T>
[src]
fn into_hsl(self) -> Hsl<T>
[src]
fn into_hsv(self) -> Hsv<T>
[src]
fn into_luma(self) -> Luma<T>
[src]
fn into_hwb(self) -> Hwb<T>
[src]
impl<T> IntoColor<T> for Xyz<T> where
T: Float,
[src]
T: Float,
fn into_xyz(self) -> Xyz<T>
[src]
fn into_yxy(self) -> Yxy<T>
[src]
fn into_lab(self) -> Lab<T>
[src]
fn into_lch(self) -> Lch<T>
[src]
fn into_rgb(self) -> Rgb<T>
[src]
fn into_hsl(self) -> Hsl<T>
[src]
fn into_hsv(self) -> Hsv<T>
[src]
fn into_luma(self) -> Luma<T>
[src]
fn into_hwb(self) -> Hwb<T>
[src]
impl<T> IntoColor<T> for Yxy<T> where
T: Float,
[src]
T: Float,
fn into_xyz(self) -> Xyz<T>
[src]
fn into_yxy(self) -> Yxy<T>
[src]
fn into_lab(self) -> Lab<T>
[src]
fn into_lch(self) -> Lch<T>
[src]
fn into_rgb(self) -> Rgb<T>
[src]
fn into_hsl(self) -> Hsl<T>
[src]
fn into_hsv(self) -> Hsv<T>
[src]
fn into_luma(self) -> Luma<T>
[src]
fn into_hwb(self) -> Hwb<T>
[src]
impl<T> IntoColor<T> for Hsl<T> where
T: Float,
[src]
T: Float,
fn into_xyz(self) -> Xyz<T>
[src]
fn into_yxy(self) -> Yxy<T>
[src]
fn into_lab(self) -> Lab<T>
[src]
fn into_lch(self) -> Lch<T>
[src]
fn into_rgb(self) -> Rgb<T>
[src]
fn into_hsl(self) -> Hsl<T>
[src]
fn into_hsv(self) -> Hsv<T>
[src]
fn into_luma(self) -> Luma<T>
[src]
fn into_hwb(self) -> Hwb<T>
[src]
impl<T> IntoColor<T> for Hsv<T> where
T: Float,
[src]
T: Float,
fn into_xyz(self) -> Xyz<T>
[src]
fn into_yxy(self) -> Yxy<T>
[src]
fn into_lab(self) -> Lab<T>
[src]
fn into_lch(self) -> Lch<T>
[src]
fn into_rgb(self) -> Rgb<T>
[src]
fn into_hsl(self) -> Hsl<T>
[src]
fn into_hsv(self) -> Hsv<T>
[src]
fn into_luma(self) -> Luma<T>
[src]
fn into_hwb(self) -> Hwb<T>
[src]
impl<T> IntoColor<T> for Rgb<T> where
T: Float,
[src]
T: Float,