plotlars-core 0.12.0

Core types and traits for plotlars
Documentation
1
2
3
4
5
6
7
8
9
use crate::ir::layout::LayoutIR;
use crate::ir::trace::TraceIR;

/// Core trait implemented by all plot types.
/// Provides access to the intermediate representation (IR) data.
pub trait Plot {
    fn ir_traces(&self) -> &[TraceIR];
    fn ir_layout(&self) -> &LayoutIR;
}