Skip to main content

Crate inspect_format

Crate inspect_format 

Source
Expand description

Tree-based formatting and semantic styling for inspected values.

This crate provides renderers that convert inspected values into human-readable tree representations with semantic syntax highlighting.

Re-exports§

pub use color_choice::ColorChoice;
pub use color_choice::ColorLevel;
pub use role::StyleRole;
pub use style::Style;
pub use theme::Theme;
pub use tree::TreeConfig;
pub use tree::TreeFormatter;

Modules§

color_choice
Terminal color choice and detection logic.
role
Semantic style roles for inspected elements.
style
Style representation and terminal styling primitives.
theme
Themes mapping semantic roles to terminal styles.
tree
Tree formatter for inspected values.

Structs§

Ansi256Color
256 (8-bit) color support
Effects
A set of text effects
Reset
Reset terminal formatting
RgbColor
24-bit ANSI RGB color codes

Enums§

AnsiColor
Available 4-bit ANSI color palette codes
Color
Any ANSI color code scheme