Skip to main content

render_file_structured_with_context_and_options

Function render_file_structured_with_context_and_options 

Source
pub fn render_file_structured_with_context_and_options(
    path: impl AsRef<Path>,
    rule_name: &str,
    context: RenderContext,
    options: RenderOptions,
) -> Result<CopperlaceValue, ConfigError>
Expand description

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