Skip to main content

Module readout

Module readout 

Source
Expand description

The Readout trait + the orthogonal Lod and ContentMode axes the engine renders against.

See docs/SRD/63_status_readouts.md §1 for the design contract.

Structs§

OptionTypeMismatch
Error returned by the try_get_* accessor family when the key is present but holds a value of the wrong type. None is reserved for the missing-key case.
ReadoutOptions
Per-call readout options. Storage = small inline Vec<(String, OptionValue)>; option counts are typically 0-3 so a hashmap is overkill. SRD-63 §5.1 option grammar — every key=value pair the body parser produces (other than the structural keys lod / layout / color / style which have dedicated paths) lands here.

Enums§

ContentMode
Content axis, orthogonal to Lod. See SRD-63 §3.2.
Lod
Level-of-Detail axis. See SRD-63 §3.
OptionValue
Typed option value. The body parser produces Bool / Int / Float / Str from the lexed token; the structural keys lod= / layout= / color= / style= parse into dedicated slots on the render step, not into this enum, so there’s no Lod variant — readouts that want to read a LOD should look at the step’s baked lod, not query the option store.

Traits§

Readout
A named, pure rendering unit. See SRD-63 §1 for the design contract.