pub trait LegendBuilder<C: PixelColor> {
type Legend: Legend<C>;
type Error;
// Required method
fn build(self) -> Result<Self::Legend, Self::Error>;
}Expand description
Builder for creating legends with fluent configuration
pub trait LegendBuilder<C: PixelColor> {
type Legend: Legend<C>;
type Error;
// Required method
fn build(self) -> Result<Self::Legend, Self::Error>;
}Builder for creating legends with fluent configuration