pub trait BackendStyle {
type ColorType: Color;
// Required method
fn as_color(&self) -> &Self::ColorType;
}Expand description
The style data for the backend drawing API
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".