Module rustc::middle::trans::closure[src]

Structs

ClosureResult
EnvValue

Functions

get_wrapper_for_bare_fn
make_closure_from_bare_fn
mk_closure_tys
store_environment
trans_expr_fn

* * Translates the body of a closure expression. * * - store * - decl * - body * - id: The id of the closure expression. * - cap_clause: information about captured variables, if any. * - dest: where to write the closure value, which must be a (fn ptr, env) pair