pub trait ForegroundColor {
const BACKGROUND_COLOR: u8;
}Expand description
Represents the color of the foreground or features in a binary image. For example, white text on a black background has a white foreground color and black background color.
Required Associated Constants§
Sourceconst BACKGROUND_COLOR: u8
const BACKGROUND_COLOR: u8
The background color of the image for binarization.
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.