conjure_oxide::rule_engine

Function resolve_rule_sets

Source
pub fn resolve_rule_sets<'a>(
    target_solver: SolverFamily,
    extra_rs_names: &Vec<String>,
) -> Result<Vec<&'a RuleSet<'static>>, ResolveRulesError>
Expand description

Resolves the final set of rule sets to apply based on target solver and extra rule set names.

§Arguments

  • target_solver The solver to resolve the rule sets for.
  • extra_rs_names The names of the extra rule sets to use

§Returns

  • A vector of rule sets to apply.