Crate depiction

Crate depiction 

Source
Expand description

A supercharged version of Rust’s Debug trait.

For more information and usage examples see the home page.

Modules§

utils
Utilities.

Structs§

DepictionContext
Depiction context.
Theme
Collection of Styles suitable for terminals.

Enums§

DepictionFormat
Depiction format.

Constants§

DEPICTION_CONFIGURATION_FORMAT
Depiction configuration: format.
MARKUP_DELIMITER
Depiction markup delimiter.
MARKUP_ESCAPE
Depiction markup escape character.
MARKUP_ESCAPED_DELIMITER
Depiction markup escaped delimiter.

Statics§

DEFAULT_DEPICTION_CONTEXT
DepictionContext with default Theme.
DEFAULT_THEME
Default Theme.
PLAIN_DEPICTION_CONTEXT
DepictionContext with plain Theme.
PLAIN_THEME
Plain Theme.

Traits§

Depict
Depict the object in a manner suitable for terminals.
DepictionFormatUtilities
Utilities for DepictionFormat.
DynDepict
A reduced dyn-compatible version of Depict.

Functions§

depict_markup
If theme is Some will return a depiction, otherwise will remove the markup.
eprint_depiction_markup
Print depiction from markup to anstream::stderr.
escape_depiction_markup
Escape depiction markup.
print_depiction_markup
Print depiction from markup to anstream::stdout.
write_depiction_markup
Write depiction from markup.

Derive Macros§

Depictderive
Procedural macro for #[derive(Depict)].