pub trait ChartRenderer: Send + Sync {
// Required method
fn render(&self, chart: &Chart) -> Result<Image, ChartError>;
}Expand description
Draws charts as PNG images (ADR 0016). Synchronous and CPU-bound: the runtime calls it off the async threads.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".