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