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]
T: Float,
pub fn to_linear<T>(x: T) -> T where
T: Float, [src]
T: Float,
Implementors
impl TransferFunction for LinearRgb[src]
impl TransferFunction for LinearRgb[src]impl TransferFunction for Srgb[src]
impl TransferFunction for Srgb[src]