[][src]Struct color_space::Luv

pub struct Luv {
    pub l: f64,
    pub u: f64,
    pub v: f64,
}

A CIELUV color (luminance, )

Fields

l: f64u: f64v: f64

Implementations

impl Luv[src]

pub fn new(l: f64, u: f64, v: f64) -> Self[src]

Create a new CIELUV color.

l: luminance component (0 to 100).

u: coordinate (-134 to 220).

v: coordinate (-140 to 122).

Trait Implementations

impl Clone for Luv[src]

impl Copy for Luv[src]

impl Debug for Luv[src]

impl Default for Luv[src]

impl From<Cmy> for Luv[src]

impl From<Cmyk> for Luv[src]

impl From<Hsl> for Luv[src]

impl From<Hsv> for Luv[src]

impl From<HunterLab> for Luv[src]

impl From<Lab> for Luv[src]

impl From<Lch> for Luv[src]

impl From<Luv> for Rgb[src]

impl From<Luv> for Xyz[src]

impl From<Luv> for Yxy[src]

impl From<Luv> for Cmy[src]

impl From<Luv> for Cmyk[src]

impl From<Luv> for Hsl[src]

impl From<Luv> for Hsv[src]

impl From<Luv> for HunterLab[src]

impl From<Luv> for Lab[src]

impl From<Luv> for Lch[src]

impl From<Rgb> for Luv[src]

impl From<Xyz> for Luv[src]

impl From<Yxy> for Luv[src]

impl FromColor<Cmy> for Luv[src]

impl FromColor<Cmyk> for Luv[src]

impl FromColor<Hsl> for Luv[src]

impl FromColor<Hsv> for Luv[src]

impl FromColor<HunterLab> for Luv[src]

impl FromColor<Lab> for Luv[src]

impl FromColor<Lch> for Luv[src]

impl FromColor<Luv> for Luv[src]

impl FromColor<Luv> for Rgb[src]

impl FromColor<Luv> for Lch[src]

impl FromColor<Luv> for Xyz[src]

impl FromColor<Luv> for Yxy[src]

impl FromColor<Luv> for Cmy[src]

impl FromColor<Luv> for Cmyk[src]

impl FromColor<Luv> for Hsl[src]

impl FromColor<Luv> for Hsv[src]

impl FromColor<Luv> for HunterLab[src]

impl FromColor<Luv> for Lab[src]

impl FromColor<Rgb> for Luv[src]

impl FromColor<Xyz> for Luv[src]

impl FromColor<Yxy> for Luv[src]

impl FromRgb for Luv[src]

impl PartialEq<Luv> for Luv[src]

impl ToRgb for Luv[src]

Auto Trait Implementations

impl RefUnwindSafe for Luv

impl Send for Luv

impl Sync for Luv

impl Unpin for Luv

impl UnwindSafe for Luv

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.