pub fn to_hwba(&self) -> Cow<Hwba> {
        match self {
            Color::Rgba(rgba) => Cow::Owned(Hwba::from(rgba)),
            Color::Hsla(hsla) => Cow::Owned(Hwba::from(hsla)),
            Color::Hwba(hwba) => Cow::Borrowed(hwba),
        }
    }
/// Get this color as a hwba value.
///
/// If this color is a hwba value, return a borrow of it.
/// Otherwise, do the conversion and return an owned value.
Get this color as a hwba value.
If this color is a hwba value, return a borrow of it.
Otherwise, do the conversion and return an owned value.
Get this color as a hwba value . If this color is a hwba value return a borrow of it . Otherwise do the conversion and return an owned value .
pub fn to_hwba(&self) -> Cow<Hwba> {
        match self {
            Color::Rgba(rgba) => Cow::Owned(Hwba::from(rgba)),
            Color::Hsla(hsla) => Cow::Owned(Hwba::from(hsla)),
            Color::Hwba(hwba) => Cow::Borrowed(hwba),
        }
    }
pub fn to_hwba ( & self ) -> Cow < Hwba > { match self { Color :: Rgba ( rgba ) => Cow :: Owned ( Hwba :: from ( rgba ) ) , Color :: Hsla ( hsla ) => Cow :: Owned ( Hwba :: from ( hsla ) ) , Color :: Hwba ( hwba ) => Cow :: Borrowed ( hwba ) , } }
Get this color as a hwba value.
Get this color as a hwba value .
&self
&self