Module annotate_snippets::formatter [] [src]

DisplayListFormatter is a module handling the formatting of a DisplayList into a formatted string.

Besides formatting into a string it also uses a style::Stylesheet to provide additional styling like colors and emphasis to the text.

Modules

style

Set of structures required to implement a stylesheet for DisplayListFormatter.

Structs

DisplayListFormatter

DisplayListFormatter' constructor accepts a single argument which allows the formatter to optionally apply colors and emphasis using ansi_term crate.