[][src]Function c2rust_refactor::matcher::find_first

pub fn find_first<P, T>(
    st: &CommandState,
    cx: &RefactorCtxt,
    pattern: P,
    target: &mut T
) -> Option<Bindings> where
    P: Pattern<P>,
    T: MutVisit

Find the first place where pattern matches, and return the resulting Bindings.