Function rustc::middle::pat_util::pat_bindings[src]
pub fn pat_bindings(dm: &DefMap, pat: &Pat, it: |BindingMode, NodeId, Span, &Path|)
Call it on every "binding" in a pattern, e.g., on a in
match foo() { Some(a) => (), None => () }
pub fn pat_bindings(dm: &DefMap, pat: &Pat, it: |BindingMode, NodeId, Span, &Path|)
Call it on every "binding" in a pattern, e.g., on a in
match foo() { Some(a) => (), None => () }
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).