Re-exports

pub extern crate termcolor;

Macros

This macro builds a [Document] using nested syntax.

Structs

A command line argument that configures the coloring of the output
Represents a diagnostic message and associated child messages.
The Document is the root node in a render tree.
A list of items that can be appended into a Document. For each item in items, the callback is invoked, and its return value is appended to the document.
Equivalent to Each(), but inserts a joiner between two adjacent elements.
A label describing an underlined region of code associated with a diagnostic
A section that can be appended into a document. Sections are invisible, but can be targeted in stylesheets with selectors using their name.

Enums

A style for the label
A severity level for diagnostic messages

Traits

The Render trait defines a type that can be added to a Document. It is defined for Node, String, &str, and Document.alloc
This trait defines a renderable entity with arguments. Types that implement RenderComponent can be packaged up together with their arguments in a Component, and the Component is renderable.

Functions

Inserts a line into a Document. The contents are inserted first, followed by a newline.
Creates a Render that, when appended into a Document, repeats a given string a specified number of times.