pub fn into_encoding<St>(self) -> Rgb<St, T>
    where
        St: RgbStandard<T, Space = S::Space>,
    {
        Rgb::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)),
        )
    }
/// Convert the color to a different encoding.
Convert the color to a different encoding.
Convert the color to a different encoding .
pub fn into_encoding<St>(self) -> Rgb<St, T>
    where
        St: RgbStandard<T, Space = S::Space>,
    {
        Rgb::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)),
        )
    }
pub fn into_encoding < St > ( self ) -> Rgb < St , T > where St : RgbStandard < T , Space = S :: Space > , { Rgb :: 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 ) ) , ) }
Convert the color to a different encoding.
Convert the color to a different encoding .
self
self