Skip to main content

euv_ui/component/marker/view/
enum.rs

1use super::*;
2
3/// The way a marker separates one block of content from the next.
4///
5/// The reference publishes three: the plain marker, the separator that
6/// sits between two blocks with a line through it, and the border that
7/// draws the line above the content instead.
8#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
9pub enum EuvMarkerVariant {
10    /// The marker is a plain row that holds an icon and its text.
11    #[default]
12    Default,
13    /// The marker is a centered rule between two blocks.
14    Separator,
15    /// The marker draws a rule above the content it introduces.
16    Border,
17}