palette::cam16

Trait IntoCam16Unclamped

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

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

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

Required Associated Types§

source

type Scalar

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

Required Methods§

source

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

Converts self into C, using the provided parameters.

Implementors§

source§

impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for U
where T: Cam16FromUnclamped<WpParam, U>,

source§

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