Skip to main content

render_file_structured_with_context

Function render_file_structured_with_context 

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

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