Trait color::ToRgb[][src]

pub trait ToRgb {
    type Standard: TransferFunction;
    fn to_rgb<U: Channel>(&self) -> Rgb<U, Self::Standard>;
}

Associated Types

type Standard: TransferFunction[src]

Loading content...

Required methods

fn to_rgb<U: Channel>(&self) -> Rgb<U, Self::Standard>[src]

Loading content...

Implementations on Foreign Types

impl ToRgb for u32[src]

type Standard = Srgb

Loading content...

Implementors

impl<T, C: ToRgb> ToRgb for AlphaColor<T, C>[src]

type Standard = <C as ToRgb>::Standard

impl<T: Clone + Channel + NumCast + Num, S: TransferFunction> ToRgb for Hsv<T, S>[src]

type Standard = S

impl<T: Clone + Channel, S: TransferFunction> ToRgb for Luma<T, S>[src]

type Standard = S

impl<T: Channel + Float + Clone> ToRgb for Xyz<T, D65>[src]

type Standard = Srgb

impl<T: Channel, S: TransferFunction> ToRgb for Rgb<T, S>[src]

type Standard = S

Loading content...