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