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
ErrorMessage indicating an error.
WarningMessage indicating a warning.
InfoMessage indicating an information.
NoteMessage indicating a note.
HelpMessage indicating a help.
LineNoStyle for line numbers.
EmphasisParts of the text that are to be emphasised.
NoneParts of the text that are regular. Usually a no-op.