Skip to main content

plotlars_core/
plot.rs

1use crate::ir::layout::LayoutIR;
2use crate::ir::trace::TraceIR;
3
4/// Core trait implemented by all plot types.
5/// Provides access to the intermediate representation (IR) data.
6pub trait Plot {
7    fn ir_traces(&self) -> &[TraceIR];
8    fn ir_layout(&self) -> &LayoutIR;
9}