ChartBuilder

Trait ChartBuilder 

Source
pub trait ChartBuilder<C: PixelColor> {
    type Chart: Chart<C>;
    type Error;

    // Required method
    fn build(self) -> Result<Self::Chart, Self::Error>;
}
Expand description

Builder trait for fluent chart construction

Required Associated Types§

Source

type Chart: Chart<C>

The chart type this builder creates

Source

type Error

Error type for building operations

Required Methods§

Source

fn build(self) -> Result<Self::Chart, Self::Error>

Build the chart with current configuration

Implementors§