Trait color::ToRgba[][src]

pub trait ToRgba {
    type Standard: TransferFunction;
    fn to_rgba<T: Channel>(&self) -> Rgba<T, Self::Standard>;
}

Associated Types

type Standard: TransferFunction[src]

Loading content...

Required methods

fn to_rgba<T: Channel>(&self) -> Rgba<T, Self::Standard>[src]

Loading content...

Implementors

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

type Standard = S

impl<T: Clone + FloatChannel, S: TransferFunction> ToRgba for Hsv<T, S>[src]

type Standard = S

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

type Standard = <C as ToRgb>::Standard

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

type Standard = S

Loading content...