Crate sparkly [−] [src]
A pretty-printing library based on Wadler's "A Prettier Printer" with support for ANSI styling.
Macros
impl_Display_for_Sparkly |
Structs
Display |
A helper struct for rendering |
Doc |
The type of pretty-printed text. |
Style |
A style is a collection of properties that can format a string using ANSI escape codes. |
Enums
Colour |
A colour is one specific type of ANSI escape code, and can refer to either the foreground or background colour. |
Traits
Sparkly |
A trait for values that are pretty-printable. |