euv-ui 0.32.9

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

/// One row of the option panel: a group caption or an option.
///
/// The panel is rendered as a flat list of these rows so the caption of a
/// group always sits immediately above the options it introduces.
#[derive(Clone, Copy, Debug)]
pub(crate) enum SelectPanelEntry {
    /// The caption row introducing a group of options.
    Caption(&'static str),
    /// An option row.
    Option(EuvSelectOption),
}