pub fn from_encoding<St>(color: Luma<St, T>) -> Luma<S, T>
    where
        St: LumaStandard<T, WhitePoint = S::WhitePoint>,
    {
        Luma::new(S::TransferFn::from_linear(St::TransferFn::into_linear(
            color.luma,
        )))
    }
/// Convert luminance from a different encoding.
Convert luminance from a different encoding.
Convert luminance from a different encoding .
pub fn from_encoding<St>(color: Luma<St, T>) -> Luma<S, T>
    where
        St: LumaStandard<T, WhitePoint = S::WhitePoint>,
    {
        Luma::new(S::TransferFn::from_linear(St::TransferFn::into_linear(
            color.luma,
        )))
    }
pub fn from_encoding < St > ( color : Luma < St , T > ) -> Luma < S , T > where St : LumaStandard < T , WhitePoint = S :: WhitePoint > , { Luma :: new ( S :: TransferFn :: from_linear ( St :: TransferFn :: into_linear ( color . luma , ) ) ) }
Convert luminance from a different encoding.
Convert luminance from a different encoding .
color
Luma<St, T>
color
Luma<St, T>