Trait palette::encoding::TransferFn[][src]

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

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