cosmic::cosmic_theme::palette::cam16

Trait Cam16IntoUnclamped

source
pub trait Cam16IntoUnclamped<WpParam, C> {
    type Scalar;

    // Required method
    fn cam16_into_unclamped(
        self,
        parameters: BakedParameters<WpParam, Self::Scalar>,
    ) -> C;
}
Expand description

A trait for converting from a CAM16 color type into C without clamping.

Required Associated Types§

source

type Scalar

The number type that’s used in parameters when converting.

Required Methods§

source

fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, Self::Scalar>, ) -> C

Converts self into C, using the provided parameters.

Implementors§

source§

impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for U
where T: FromCam16Unclamped<WpParam, U>,

source§

type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar