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

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

StyleClass is a collection of named variants of style classes

Variants

Error

Message indicating an error.

Warning

Message indicating a warning.

Info

Message indicating an information.

Note

Message indicating a note.

Help

Message indicating a help.

LineNo

Style for line numbers.

Emphasis

Parts of the text that are to be emphasised.

None

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.