Expand description
§facet-pretty
Thanks to all individual and corporate sponsors, without whom this work could not exist:
Provides pretty-printing capabilities for Facet types.
§License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Structs§
- Color
Generator - A color generator that produces unique colors based on a hash value
- Pretty
Display - Display wrapper for any type that implements Facet
- Pretty
Printer - A formatter for pretty-printing Facet types
- RGB
- RGB color representation
Constants§
Traits§
- Facet
Pretty - Extension trait for Facet types to easily pretty-print them
Functions§
- write_
bold - Write ANSI bold formatting to the formatter
- write_
dim - Write ANSI dim formatting to the formatter
- write_
italic - Write ANSI italic formatting to the formatter
- write_
reset - Write ANSI reset code to the formatter
- write_
rgb - Write RGB foreground color code to the formatter
- write_
rgb_ bg - Write RGB background color code to the formatter
- write_
underline - Write ANSI underline formatting to the formatter