pub trait ColorGamut {
// Required methods
fn in_gamut(&self) -> bool;
fn clip(&self) -> Self;
}Expand description
A trait that colors implement to support gamut mapping.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".