Skip to main content

render_str_structured_with_context_and_options

Function render_str_structured_with_context_and_options 

Source
pub fn render_str_structured_with_context_and_options(
    config: &str,
    rule_name: &str,
    context: RenderContext,
    options: RenderOptions,
) -> Result<CopperlaceValue, ConfigError>
Expand description

Renders one object-valued rule from a configuration string as a structured value with initial context and render options.