pub trait IntoLinear<L, E> {
    // Required method
    fn into_linear(encoded: E) -> L;
}
Expand description

A transfer function to linear space.

Required Methods§

source

fn into_linear(encoded: E) -> L

Convert the color component encoded into linear space.

Implementors§

source§

impl IntoLinear<f32, u8> for Srgb

source§

impl IntoLinear<f64, u8> for Srgb

source§

impl<T> IntoLinear<T, T> for LinearFn

source§

impl<T> IntoLinear<T, T> for Srgbwhere T: Real + Powf + MulAdd + Arithmetics + PartialCmp + Clone, T::Mask: LazySelect<T>,

source§

impl<T, N> IntoLinear<T, T> for GammaFn<N>where T: Real + One + Powf + Div<Output = T>, N: Number,