pub trait ColorLut {
// Required methods
fn quantize(&self) -> ColorU;
fn quantized_floor(&self) -> ColorU;
fn quantized_ceil(&self) -> ColorU;
fn luminance(&self) -> u8;
fn luminance_color(&self) -> ColorU;
}Required Methods§
fn quantize(&self) -> ColorU
fn quantized_floor(&self) -> ColorU
fn quantized_ceil(&self) -> ColorU
fn luminance(&self) -> u8
fn luminance_color(&self) -> ColorU
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".