Trait color::color_space::TransferFunction[][src]

pub trait TransferFunction: 'static {
    fn from_linear<T: Float>(x: T) -> T;
fn to_linear<T: Float>(x: T) -> T; }

Required methods

fn from_linear<T: Float>(x: T) -> T[src]

fn to_linear<T: Float>(x: T) -> T[src]

Loading content...

Implementors

impl TransferFunction for LinearRgb[src]

impl TransferFunction for Srgb[src]

Loading content...