Skip to main content

template_node_defaults

Function template_node_defaults 

Source
pub fn template_node_defaults(
    templates: &[TemplateCatalogEntry],
    template_id: &Option<String>,
    available_ids: &[String],
) -> Vec<bool>
Expand description

Computes which of available_ids should be pre-checked in mecha10 init’s node-selection step, based on the named template’s node list. Defaults to "rover" when template_id is omitted; falls back to [FALLBACK_BASIC_NODES] for an unrecognized template_id.