flow_plots/options/
mod.rs

1pub mod axis;
2pub mod base;
3pub mod density;
4
5pub use axis::{AxisOptions, AxisOptionsBuilder};
6pub use base::{BasePlotOptions, BasePlotOptionsBuilder};
7pub use density::{DensityPlotOptions, DensityPlotOptionsBuilder};
8
9/// Trait for plot options types
10///
11/// All plot-specific options structs should implement this trait to provide
12/// access to the base options.
13pub trait PlotOptions {
14    /// Get a reference to the base plot options
15    fn base(&self) -> &BasePlotOptions;
16}