Skip to main content

binding_counts

Function binding_counts 

Source
fn binding_counts(
    body: &Block,
    pattern: &[(Ident, bool)],
) -> HashMap<String, usize>
Expand description

Every name a pattern binds, with repetitions (visit sees each binding once).