Skip to main content

all_rules

Function all_rules 

Source
pub fn all_rules() -> &'static [&'static dyn Rule]
Expand description

Return the registered rules in evaluation order.

Rules are zero-sized structs, so the returned slice is a pointer into static memory and all_rules() is essentially free.