[][src]Trait nannou::color::luma::LumaStandard

pub trait LumaStandard {
    type WhitePoint: WhitePoint;
    type TransferFn: TransferFn;
}

A white point and a transfer function.

Associated Types

type WhitePoint: WhitePoint

The white point of the color space.

type TransferFn: TransferFn

The transfer function for the luminance component.

Loading content...

Implementations on Foreign Types

impl<Wp, T> LumaStandard for (Wp, T) where
    T: TransferFn,
    Wp: WhitePoint
[src]

type WhitePoint = Wp

type TransferFn = T

Loading content...

Implementors

impl LumaStandard for Srgb[src]

impl<Wp> LumaStandard for Linear<Wp> where
    Wp: WhitePoint
[src]

impl<Wp, N> LumaStandard for Gamma<Wp, N> where
    N: Number,
    Wp: WhitePoint
[src]

type WhitePoint = Wp

type TransferFn = GammaFn<N>

Loading content...