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