Enum rustc_mir_transform::shim::CallKind [−][src]
Variants
Indirect(Ty<'tcx>)
Call the FnPtr
that was passed as the receiver.
Tuple Fields of Indirect
0: Ty<'tcx>
Direct(DefId)
Call a known FnDef
.
Tuple Fields of Direct
0: DefId
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for CallKind<'tcx>
impl<'tcx> !UnwindSafe for CallKind<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
Indirect
: 12 bytesDirect
: 8 bytes