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
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.