Skip to main content

euv_ui/component/notification/view/
enum.rs

1use super::*;
2
3/// The visual variants of a toast.
4///
5/// The reference publishes two: the neutral one and the destructive one,
6/// which paints the card with the destructive surface and its border.
7#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
8pub enum EuvToastVariant {
9    /// The neutral toast.
10    #[default]
11    Default,
12    /// The toast that reports a failure.
13    Destructive,
14}