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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.