Skip to main content

Module labels

Module labels 

Source
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§

CellMeta
Display and write metadata for a single cell.
Labels
Associates human-readable labels and type-erased closures with stable sheet IDs.
PreparedWrite
Owns an already decoded scalar, independent of any mutable sheet.
Renderer
The Renderer for a [Report]
ScalarCodec
Supplies an exact scalar encoding and its inverse.

Functions§

format_adam_error
Formats an Error as a rustc-style diagnostic when possible.
format_module_diagnostic
Formats a module diagnostic against its retained source owners.
format_parse_error
Formats the convenience parser’s owning diagnostic, retaining the caller’s file name.
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 Labels from an adam-lang-style declaration-ordered cell name map.

Type Aliases§

CaptureFn
Encodes an effective value exactly or reports an unavailable capability.
ExactRangeFn
Reads exact live filter endpoints without a binary64 conversion.
PrepareFn
Parses canonical input without mutating a model.