[][src]Trait plotters::drawing::backend::BackendStyle

pub trait BackendStyle {
    type ColorType: Color;
    fn as_color(&self) -> RGBAColor;
}

The style data for the backend drawing API

Associated Types

type ColorType: Color

The underlying type reprsents the color for this style

Loading content...

Required methods

fn as_color(&self) -> RGBAColor

Convert the style into the underlying color

Loading content...

Implementors

impl<T: Color> BackendStyle for T[src]

type ColorType = T

Loading content...