pub trait ColorMap<const N: usize> {
// Required method
fn get_color(&self, color: ColorND<N>) -> impl Color;
}Expand description
Defines a color map which can convert a N-dimensional color into a normal color
Required Methods§
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.