Trait palette::cam16::Cam16FromUnclamped
source · pub trait Cam16FromUnclamped<WpParam, C> {
type Scalar;
// Required method
fn cam16_from_unclamped(
color: C,
parameters: BakedParameters<WpParam, Self::Scalar>,
) -> Self;
}
Expand description
A trait for converting into a CAM16 color type from C
without clamping.
Required Associated Types§
Required Methods§
sourcefn cam16_from_unclamped(
color: C,
parameters: BakedParameters<WpParam, Self::Scalar>,
) -> Self
fn cam16_from_unclamped( color: C, parameters: BakedParameters<WpParam, Self::Scalar>, ) -> Self
Converts color
into Self
, using the provided parameters.
Object Safety§
This trait is not object safe.