Skip to main content

Module desc

Module desc 

Source
Expand description

Lightweight, heap-free point descriptors — the codec core’s view of a point (spec §7–§15). Generated code emits static tables of these; the alloc feature converts prost Points into them (see convert).

Lifetimes: 'a is the backing storage — 'static for generated tables, the document’s lifetime for runtime-parsed profiles.

Structs§

FieldDesc
§13 Bit/register sub-field.
NaDesc
§8.4 Unavailable/sentinel raw value.
PointDesc
The codec core’s complete view of one point.
Rational
§10.1 Rational scale/offset.
ScaleRefDesc
SelectorCaseDesc
§10.5 One selector case: scale/offset chosen by the selector value.
SelectorDesc
WriteDesc
§11.4 Write constraints (engineering units).

Enums§

Access
§11 Access mode.
AddressSpace
§7 Modbus address space.
DateTimeEncoding
§8.5 Date/time encoding.
ScaleMode
§10.4 Register-referenced scaling mode.
StorageType
§8.2 Physical storage type.
StringPadding
§15 String padding / termination.
StringTermination
ValueKind
§8/§13 Logical value interpretation.

Functions§

point
A minimal defaulted descriptor for building tables/tests concisely.