Module termcolor
Cross-platform library for writing colored output to the terminal.
See crate ::termcolor.
Structs
-
Ansi
Satisfies
WriteColorusing standard ANSI escape sequences. - Buffer Write colored text to memory.
- BufferWriter Writes colored buffers to stdout or stderr.
-
BufferedStandardStream
Like
StandardStream, but does buffered writing. -
ColorChoiceParseError
An error that occurs when parsing a
ColorChoicefails. - ColorSpec A color specification.
- HyperlinkSpec A hyperlink specification.
-
NoColor
Satisfies
WriteColorbut ignores all color options. - ParseColorError An error from parsing an invalid color specification.
-
StandardStream
Satisfies
io::WriteandWriteColor, and supports optional coloring to either of the standard output streams, stdout and stderr. -
StandardStreamLock
StandardStreamLockis a locked reference to aStandardStream.
Enums
- Color The set of available colors for the terminal foreground/background.
- ColorChoice ColorChoice represents the color preferences of an end user.
Traits
- WriteColor This trait describes the behavior of writers that support colored output.