Function rustc_trans::trans::closure::get_or_create_declaration_if_unboxed_closureExperimental [-]  [+] [src]

pub fn get_or_create_declaration_if_unboxed_closure<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, closure_id: DefId, substs: &Substs<'tcx>) -> Option<ValueRef>

Returns the LLVM function declaration for an unboxed closure, creating it if necessary. If the ID does not correspond to a closure ID, returns None.