Module rustc_mir_transform::shim
source · Modules§
Structs§
- Clone
Shim πBuilder
Enums§
- Adjustment π
- Call
Kind π - Deref
Source π
Functions§
- build_
call_ πshim Builds a βcallβ shim forinstance
. The shim calls the function specified bycall_kind
, first adjusting its first argument according torcvr_adjustment
. - build_
clone_ πshim Builds aClone::clone
shim forself_ty
. Here,def_id
isClone::clone
. - build_
drop_ πshim - local_
decls_ πfor_ sig - make_
shim π - new_
body π