Function rustc::middle::trans::callee::trans_fn_ref[src]

pub fn trans_fn_ref(bcx: &Block, def_id: DefId, node: ExprOrMethodCall) -> ValueRef

Translates a reference (with id ref_id) to the fn/method with id def_id into a function pointer. This may require monomorphization or inlining.