conjure_oxide::rule_engineFunction get_rules_vec
Source pub fn get_rules_vec<'a>(
rule_priorities: &HashMap<&'a Rule<'a>, u16>,
) -> Vec<&'a Rule<'a>>
Expand description
Get a final ordering of rules based on their priorities and names.
§Arguments
rule_priorities
The priorities of the rules.
§Returns
- A list of rules sorted by their priorities and names.