pub fn from_format<U, B>(color: Alpha<Rgb<S, U>, B>) -> Self
    where
        T: FromComponent<U>,
        U: Component,
        A: FromComponent<B>,
        B: Component,
    {
        color.into_format()
    }
/// Convert from another component type.
Convert from another component type.
Convert from another component type .
pub fn from_format<U, B>(color: Alpha<Rgb<S, U>, B>) -> Self
    where
        T: FromComponent<U>,
        U: Component,
        A: FromComponent<B>,
        B: Component,
    {
        color.into_format()
    }
pub fn from_format < U , B > ( color : Alpha < Rgb < S , U > , B > ) -> Self where T : FromComponent < U > , U : Component , A : FromComponent < B > , B : Component , { color . into_format ( ) }
Convert from another component type.
Convert from another component type .
color
Alpha<Rgb<S, U>, B>
color
Alpha<Rgb<S, U>, B>