Modules§
Macros§
Structs§
- Buffer
Console - Implementation of Console storing all printed messages to a memory buffer
- Debug
Display - It displays a type that implements std::fmt::Display
- Debug
Display Option - It displays a
Option<T>
, whereT
implements std::fmt::Display - EnvConsole
- Implementation of Console printing messages to the standard output and standard error
- Hardline
- Horizontal
Line - A horizontal line with the given print width
- KeyValue
Pair - It writes a pair of key-value, with the given padding
- Markup
- Root type returned by the
markup
macro: this is simply a container for a list of markup nodes - Markup
Buf - Markup
Node - Implementation of a single “markup node”: a piece of text with a number of associated styles applied to it
- Message
- Individual message entry printed to a BufferConsole
- Padding
- It prints N whitespaces, where N is the
width
provided by Padding::new - Softline
Enums§
- Color
Mode - LogLevel
- Determines the “output stream” a message should get printed to
- Markup
Element - Enumeration of all the supported markup elements
Constants§
Traits§
- Console
- Generic abstraction over printing markup and diagnostics to an output, which can be a terminal, a file, a memory buffer …
- Console
Ext - Extension trait for Console providing convenience printing methods