Skip to main content

Module export

Module export 

Source
Expand description

Shared snapshot-export helpers for topology builders that attach property layers.

Every layout exporter (CSR, BCSR) validates its property layers against the topology counts and then appends the SAME section tail — property descriptors, property data, identity modes, one explicit identity map — in the canonical (ascending-kind) order the container mandates. The layout-specific parts (which counts are required, which identity modes apply, which map kind carries the explicit map) stay in each layout crate; the mechanics live here once.

Structs§

LayerLengthError
A property layer shorter than the topology requires.

Functions§

append_identity_and_property_sections
Appends the canonical property-export section tail: the encoded property descriptors and data, then the identity modes and the explicit identity map under identity_map_kind.
validate_layer_lengths
Validates that every layer holds at least required rows for id_family.