Function rustc::middle::trans::callee::trans_fn_ref_with_vtables[src]
pub fn trans_fn_ref_with_vtables(bcx: &Block, def_id: DefId, node: ExprOrMethodCall, substs: Substs, vtables: vtable_res) -> 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 parametersvtables: values for each bound on each of the type parameters