[][src]Function c2rust_refactor::matcher::mut_visit_match

pub fn mut_visit_match<P, T, F>(
    st: &CommandState,
    cx: &RefactorCtxt,
    pattern: P,
    target: &mut T,
    callback: F
) where
    P: Pattern<P>,
    T: MutVisit,
    F: FnMut(&mut P, MatchCtxt), 

Find every match for pattern within target, and rewrite each one by invoking callback.