Skip to main content

render_str_with_context_and_options

Function render_str_with_context_and_options 

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

Renders one rule from a configuration string with initial context and render options.