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

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

Required methods

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

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

Loading content...

Implementors

impl TransferFunction for LinearRgb[src]

impl TransferFunction for Srgb[src]

Loading content...