pub fn path_of(rule: &RuleSnapshot) -> &[Value]Expand description
The tracked path of a rule, as a slice of segments: map keys as
Value::String, array indices as Value::Number. Empty for a rule
carrying no path (the root, or a rule reached before the plugin ran).
Takes a snapshot so it reads a parent’s path as readily as the current
rule’s; a &Rule coerces to one.