Trait rin::prelude::ToRgba[][src]

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

Associated Types

type Standard: TransferFunction[src]

Loading content...

Required methods

pub fn to_rgba<T>(&self) -> AlphaColor<T, Rgb<T, Self::Standard>> where
    T: Channel
[src]

Loading content...

Implementors

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

type Standard = <C as ToRgb>::Standard

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

type Standard = S

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

type Standard = S

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

type Standard = S

Loading content...