pub fn into_encoding<St>(self) -> Alpha<Rgb<St, T>, A>
    where
        St: RgbStandard<T, Space = S::Space>,
    {
        Alpha::<Rgb<St, T>, A>::new(
            St::TransferFn::from_linear(S::TransferFn::into_linear(self.red)),
            St::TransferFn::from_linear(S::TransferFn::into_linear(self.green)),
            St::TransferFn::from_linear(S::TransferFn::into_linear(self.blue)),
            self.alpha,
        )
    }
/// Convert the color to a different encoding with transparency.
Convert the color to a different encoding with transparency.
Convert the color to a different encoding with transparency .
pub fn into_encoding<St>(self) -> Alpha<Rgb<St, T>, A>
    where
        St: RgbStandard<T, Space = S::Space>,
    {
        Alpha::<Rgb<St, T>, A>::new(
            St::TransferFn::from_linear(S::TransferFn::into_linear(self.red)),
            St::TransferFn::from_linear(S::TransferFn::into_linear(self.green)),
            St::TransferFn::from_linear(S::TransferFn::into_linear(self.blue)),
            self.alpha,
        )
    }
pub fn into_encoding < St > ( self ) -> Alpha < Rgb < St , T > , A > where St : RgbStandard < T , Space = S :: Space > , { Alpha :: < Rgb < St , T > , A > :: new ( St :: TransferFn :: from_linear ( S :: TransferFn :: into_linear ( self . red ) ) , St :: TransferFn :: from_linear ( S :: TransferFn :: into_linear ( self . green ) ) , St :: TransferFn :: from_linear ( S :: TransferFn :: into_linear ( self . blue ) ) , self . alpha , ) }
Convert the color to a different encoding with transparency.
Convert the color to a different encoding with transparency .
self
self