Function rustc::middle::trans::closure::make_closure_from_bare_fn[src]
pub fn make_closure_from_bare_fn<'a>(bcx: &'a Block<'a>, closure_ty: t, def: Def, fn_ptr: ValueRef) -> DatumBlock<'a, Expr>
pub fn make_closure_from_bare_fn<'a>(bcx: &'a Block<'a>, closure_ty: t, def: Def, fn_ptr: ValueRef) -> DatumBlock<'a, Expr>
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).