Skip to main content

Module emit

Module emit 

Source
Expand description

Formatted Rust source generated from the model.

Module::new uses Spelling::Bare: Vec<Entry>, u32, Ok(..). Runtime paths stay qualified. A module with a message, choice or dispatch imports Box, String and Vec from ::layline::__private, so it builds under no_std with alloc.

Structs§

Committed
The files a generator writes, and the command that regenerates them.
Drifted
Files on disk differ from the generator’s output.
Generated
A generated module and its audit artifact.
Module
A module to generate.

Enums§

Change
A change made by Committed::update.
Drift
How a path differs from the generator’s output.

Functions§

generate
Generates a module’s source and audit artifact.