Skip to main content

component_config

Function component_config 

Source
pub fn component_config(type_tag: &str, yaml: &str) -> ComponentConfig
Expand description

A component config tagged type_tag, with yaml as its body.

yaml is the section’s body without the tag line, and may be indented.

§Panics

Panics if yaml does not parse.