Skip to main content

Module codec

Module codec 

Source
Expand description

codec:scene: the domain codec for Scene values.

Modelled on codec:chat, this codec round-trips Scene values only and fails closed outside its domain: it validates the scene on the way in and on the way out, and the canonical text form (see crate::text) refuses non-data Expr forms. A malformed scene becomes a structured CodecError, never a panic. It is built on the shared DomainCodecLib scaffold and registers the scene node Shapes through with_shapes.

Structs§

SceneCodec
The Scene domain codec object.
SceneCodecLib
Library that registers the scene node Shapes and codec:scene.

Functions§

scene_codec_symbol
Stable codec symbol for the scene domain codec.