Enum annotate_snippets::formatter::style::StyleClass [] [src]

pub enum StyleClass {
    Error,
    Warning,
    Info,
    Note,
    Help,
    LineNo,
    Emphasis,
    None,
}

StyleClass is a collection of named variants of style classes that DisplayListFormatter uses.

Variants

Message indicating an error.

Message indicating a warning.

Message indicating an information.

Message indicating a note.

Message indicating a help.

Style for line numbers.

Parts of the text that are to be emphasised.

Parts of the text that are regular. Usually a no-op.

Trait Implementations

Auto Trait Implementations

impl Send for StyleClass

impl Sync for StyleClass