severity.rs

 1/// Severity levels that determine the style of the component.
 2/// Usually, it affects the background. Most of the time,
 3/// it also follows with an icon corresponding the severity level.
 4#[derive(Debug, Clone, Copy, PartialEq, Eq)]
 5pub enum Severity {
 6    Info,
 7    Success,
 8    Warning,
 9    Error,
10}