Expand description
Cell display/write metadata and diagnostic formatting for a live adam_rs::Sheet.
Labels associates display metadata (names, type-erased display and write closures)
with stable CellId keys, driving crate::SheetInspector’s rendering.
format_adam_error formats an adam_rs::Error as a rustc-style diagnostic when
possible.
Structs§
- Cell
Meta - Display and write metadata for a single cell.
- Labels
- Associates human-readable labels and type-erased closures with stable sheet IDs.
- Renderer
- The Renderer for a [
Report]
Functions§
- format_
adam_ error - Formats an
Erroras a rustc-style diagnostic when possible. - format_
rounded - Formats a floating-point value for display, rounded to 2 decimal places with trailing zeros (and a bare trailing decimal point) trimmed.
- labels_
from_ cell_ names - Builds a
Labelsfrom an adam-lang-style declaration-ordered cell name map.
Type Aliases§
- Write
StrFn - Type-erased write closure: parses a string and writes it to a cell.