pub trait Shades {
// Required methods
fn ground(&self, rgb: Rgb) -> Shade;
fn glyph(&self, rgb: Rgb) -> Shade;
fn shape(&self, rgb: Rgb) -> Shade;
}Expand description
What a frame’s colours are drawn in.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".