Expand description
.yui screen files (the screen designer’s format) — regenerating their
code (.yog-build/generated/**/*.g.rs, what the code-behind pulls in
with yog_api::ui_include!) when one is saved, through yog ui gen —
and the same for .yres resource files (resources/<Set>.g.rs,
through yog res check).
Structs§
- Codegen
- One regeneration: the generated file (empty on failure), the failure’s
message, and
yog’s full output with the folder it ran in — what the Error List reads the file’s errors and warnings from.
Functions§
- codegen
- Runs
yog ui gen <path>in the file’s folder, so a saved screen’s generatedfoo.g.rsis current without a full build (yogfinds the project from theyog.tomlabove the file). The result carries whatyogprinted either way — its errors and warnings go to the Error List;Erronly whenyogcouldn’t run at all.