Skip to main content

Module record

Module record 

Source
Expand description

One line of the export stream with every reference resolved to an output id. The traversal in crate::Exporter produces these and every output format consumes them.

The derived serde layout is also the blean format (see crate::blean), so variant and field order are part of the format and must not change.

Structs§

Binding
Counts
Records written so far for each table, which is also the next id each hands out. Fixed width on the wire, so a blean file ends with these as three little-endian u32s.
Head
The fields every declaration starts with.
IndCtor
IndRec
IndRule
IndType

Enums§

Decl
Record
Ids are implicit: names and levels count from 1 (0 is the anonymous name and the zero level), expressions from 0, each in record order. Records only refer to earlier ones.
Safety
Table

Traits§

Sink
A destination for records. id is the id r defines, if it defines a name, level or expression; ids count from where the stream started, also across a resumed export.