Trait rin::prelude::ToRgb[][src]

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

Associated Types

type Standard: TransferFunction[src]

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

impl ToRgb for u32[src]

type Standard = Srgb

Loading content...

Implementors

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

type Standard = Srgb

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

type Standard = <C as ToRgb>::Standard

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

type Standard = S

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

type Standard = S

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

type Standard = S

Loading content...