Crate shapely_pretty

Source

Re-exports§

pub use shapely_core;

Structs§

ColorGenerator
A color generator that produces unique colors based on a hash value
PrettyDisplay
Display wrapper for any type that implements Shapely
PrettyPrinter
A formatter for pretty-printing Shapely types
RGB
RGB color representation

Constants§

BOLD
ANSI bold formatting code
DIM
ANSI dim formatting code
RESET
ANSI reset code

Traits§

ShapelyPretty
Extension trait for Shapely 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