fn is_binding_pat(pat: &Pat<'_>) -> bool
Expand description

Returns true if pat match the P& non-terminal.

    P& = ref X
       | StructName { ..., P&, ... }
       | VariantName(..., P&, ...)
       | [ ..., P&, ... ]
       | ( ..., P&, ... )
       | ... "|" P& "|" ...
       | box P&