Function rule_from_yaml

Source
pub fn rule_from_yaml(yaml: &str) -> Result<Rule, Error>
Expand description

Parse a rule from a YAML string