Skip to main content

pattern_depth

Function pattern_depth 

Source
pub fn pattern_depth(p: &Pattern) -> usize
Expand description

Count the maximum nesting depth of a pattern.