pub trait Plot {
// Required methods
fn plot(&self, plot_ui: &PlotUi<'_>);
fn label(&self) -> &str;
}Expand description
Common trait for all plot types
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".