egui_charts/ui/widget_bar/actions.rs
1//! Actions that can be returned from right toolbar interactions
2
3use super::tabs::RightPanelTab;
4
5/// Actions returned from right toolbar interactions
6#[derive(Debug, Clone, PartialEq)]
7#[non_exhaustive]
8pub enum RightToolbarAction {
9 /// No action taken
10 None,
11 /// Tab was selected
12 SelectTab(RightPanelTab),
13 /// Tab was closed
14 CloseTab,
15 /// Panel width changed
16 ResizePanel(f32),
17}