Trait nannou::color::encoding::TransferFn[][src]

pub trait TransferFn {
    fn from_linear<T>(x: T) -> T
    where
        T: Float
;
fn into_linear<T>(x: T) -> T
    where
        T: Float
; }
Expand description

A transfer function to and from linear space.

Required methods

Convert the color component x from linear space.

Convert the color component x into linear space.

Implementors