trait PatternFolder<'tcx>: Sized {
    // Provided methods
    fn fold_pattern(&mut self, pattern: &Pat<'tcx>) -> Pat<'tcx> { ... }
    fn fold_pattern_kind(&mut self, kind: &PatKind<'tcx>) -> PatKind<'tcx> { ... }
}

Provided Methods§

source

fn fold_pattern(&mut self, pattern: &Pat<'tcx>) -> Pat<'tcx>

source

fn fold_pattern_kind(&mut self, kind: &PatKind<'tcx>) -> PatKind<'tcx>

Implementors§