pub trait Plot {
// Required methods
fn get_layout(&self) -> &Layout;
fn get_traces(&self) -> &Vec<Box<dyn Trace + 'static>>;
// Provided method
fn plot(self)
where Self: Sized { ... }
}Expand description
A trait representing a generic plot that can be displayed or rendered.