Expand description
Cross-platform library for writing colored output to the terminal.
See crate ::termcolor
.
Structs§
- Ansi
- Satisfies
WriteColor
using standard ANSI escape sequences. - Buffer
- Write colored text to memory.
- Buffer
Writer - Writes colored buffers to stdout or stderr.
- Buffered
Standard Stream - Like
StandardStream
, but does buffered writing. - Color
Choice Parse Error - An error that occurs when parsing a
ColorChoice
fails. - Color
Spec - A color specification.
- Hyperlink
Spec - A hyperlink specification.
- NoColor
- Satisfies
WriteColor
but ignores all color options. - Parse
Color Error - An error from parsing an invalid color specification.
- Standard
Stream - Satisfies
io::Write
andWriteColor
, and supports optional coloring to either of the standard output streams, stdout and stderr. - Standard
Stream Lock StandardStreamLock
is a locked reference to aStandardStream
.
Enums§
- Color
- The set of available colors for the terminal foreground/background.
- Color
Choice - ColorChoice represents the color preferences of an end user.
Traits§
- Write
Color - This trait describes the behavior of writers that support colored output.