Skip to main content

ui_components

Macro ui_components 

Source
macro_rules! ui_components {
    () => { ... };
}
Expand description

Compiles in the mod’s component .yui files that have no code-behind .rs (those with one are pulled in by its ui_include!) — call it once, in src/lib.rs:

ⓘ
yog_api::ui_components!();

yog build, yog check and yog ui gen write the list to .yog-build/generated/components.g.rs (a module per component).