conjure_oxide::rule_engineFunction get_rule_priorities
Source pub fn get_rule_priorities<'a>(
rule_sets: &Vec<&'a RuleSet<'a>>,
) -> Result<HashMap<&'a Rule<'a>, u16>, ResolveRulesError>
Expand description
Convert a list of rule sets into a final map of rules to their priorities.
§Arguments
rule_sets
The rule sets to get the rules from.
§Returns
- A map of rules to their priorities.