Function rustc_trans::trans::callee::trans_fn_ref_with_substsExperimental
[-]
[+]
[src]
pub fn trans_fn_ref_with_substs<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, def_id: DefId, node: ExprOrMethodCall, substs: Substs<'tcx>) -> ValueRef
Translates a reference to a fn/method item, monomorphizing and inlining as it goes.
Parameters
bcx: the current block where the reference to the fn occursdef_id: def id of the fn or method item being referencednode: node id of the reference to the fn/method, if applicable. This parameter may be zero; but, if so, the resulting value may not have the right type, so it must be cast before being used.substs: values for each of the fn/method's parameters