Module renderer

Module renderer 

Source
Expand description

The Renderer and its settings

§Example

let report = // ...

let renderer = Renderer::styled().decor_style(DecorStyle::Unicode);
let output = renderer.render(report);
anstream::println!("{output}");

Structs§

Ansi256Color
256 (8-bit) color support
EffectIter
Enumerate each enabled value in Effects
Effects
A set of text effects
Renderer
The Renderer for a Report
Reset
Reset terminal formatting
RgbColor
24-bit ANSI RGB color codes
Style
ANSI Text styling

Enums§

AnsiColor
Available 4-bit ANSI color palette codes
Color
Any ANSI color code scheme
DecorStyle
The character set for rendering for decor

Constants§

DEFAULT_TERM_WIDTH
See Renderer::term_width