Trait rin::color::ToLuma[][src]

pub trait ToLuma {
    type Standard: TransferFunction;
    pub fn to_luma<U>(&self) -> Luma<U, Self::Standard>
    where
        U: Channel
; }

Associated Types

type Standard: TransferFunction[src]

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

impl ToLuma for u8[src]

type Standard = Srgb

Loading content...

Implementors

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

type Standard = <C as ToLuma>::Standard

impl<T, S> ToLuma for Luma<T, S> where
    T: Channel,
    S: TransferFunction
[src]

type Standard = S

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

type Standard = S

Loading content...