pub fn collect_pat_names(expr: &RcExprPat) -> HashSet<&str> {
    let mut collector = PatternCollector::default();
    collector.visit_expr_pat(expr);
    collector.pats
}
/// Collects unique pattern names in an pattern expression.
Collects unique pattern names in an pattern expression.
Collects unique pattern names in an pattern expression .
pub fn collect_pat_names(expr: &RcExprPat) -> HashSet<&str> {
    let mut collector = PatternCollector::default();
    collector.visit_expr_pat(expr);
    collector.pats
}
pub fn collect_pat_names ( expr : & RcExprPat ) -> HashSet < & str > { let mut collector = PatternCollector :: default ( ) ; collector . visit_expr_pat ( expr ) ; collector . pats }
Collects unique pattern names in an pattern expression.
Collects unique pattern names in an pattern expression .
expr
&RcExprPat
expr
&RcExprPat