pub trait BackendStyle {
type ColorType: Color;
// Required method
fn as_color(&self) -> RGBAColor;
// Provided method
fn stroke_width(&self) -> u32 { ... }
}Expand description
The style data for the backend drawing API
pub trait BackendStyle {
type ColorType: Color;
// Required method
fn as_color(&self) -> RGBAColor;
// Provided method
fn stroke_width(&self) -> u32 { ... }
}The style data for the backend drawing API