Skip to main content

Module render

Module render 

Source
Expand description

Rendering: turn the shared Report into text, hexdumps, or HTML. Both the text and HTML renderers consume the same model so they never diverge.

Modules§

color
Minimal ANSI colouring with no external crate.
hexdump
A classic 16-column hexdump with absolute file offsets.
html
A self-contained HTML report: inline CSS, no JS framework, collapsible sections via native <details>. Consumes the same Report as the text renderer so the two never disagree.
text
The CLI/ASCII renderer: a layout map, a partition table, a block-chain tree, decoded field trees, and a diagnostics footer — all driven by the shared Report.

Structs§

Report
The shared input to every renderer: the physical layout plus the per- partition decoded field trees (paired with the partition UID).

Functions§

label_or
Format a label, falling back to a placeholder for unreadable labels.
uid_hex
Format a 16-byte UID as lowercase hex.