Expand description
A supercharged version of Rust’s Debug trait.
For more information and usage examples see the home page.
Modules§
- utils
- Utilities.
Structs§
- Depiction
Context - Depiction context.
- Theme
- Collection of Styles suitable for terminals.
Enums§
- Depiction
Format - 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.
- Depiction
Format Utilities - 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§
- Depict
derive - Procedural macro for
#[derive(Depict)].