pub trait ColorTrait {
const WHITE: Pixel;
const BLACK: Pixel;
const RED: Pixel;
const GREEN: Pixel;
const BLUE: Pixel;
const ZERO: Pixel;
}Expand description
Example colors
Required Associated Constants§
const WHITE: Pixel
const BLACK: Pixel
const RED: Pixel
const GREEN: Pixel
const BLUE: Pixel
const ZERO: Pixel
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.