Enum rustc_codegen_llvm::abi::Abi
source · [−]pub enum Abi {
Show 24 variants
Rust,
C {
unwind: bool,
},
Cdecl,
Stdcall {
unwind: bool,
},
Fastcall,
Vectorcall,
Thiscall {
unwind: bool,
},
Aapcs,
Win64,
SysV64,
PtxKernel,
Msp430Interrupt,
X86Interrupt,
AmdGpuKernel,
EfiApi,
AvrInterrupt,
AvrNonBlockingInterrupt,
CCmseNonSecureCall,
Wasm,
System {
unwind: bool,
},
RustIntrinsic,
RustCall,
PlatformIntrinsic,
Unadjusted,
}Variants
Rust
C
Fields
unwind: boolCdecl
Stdcall
Fields
unwind: boolFastcall
Vectorcall
Thiscall
Fields
unwind: boolAapcs
Win64
SysV64
PtxKernel
Msp430Interrupt
X86Interrupt
AmdGpuKernel
EfiApi
AvrInterrupt
AvrNonBlockingInterrupt
CCmseNonSecureCall
Wasm
System
Fields
unwind: boolRustIntrinsic
RustCall
PlatformIntrinsic
Unadjusted
Auto Trait Implementations
impl RefUnwindSafe for Abi
impl UnwindSafe for Abi
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: 2 bytes
Size for each variant:
Rust: 0 bytesC: 1 byteCdecl: 0 bytesStdcall: 1 byteFastcall: 0 bytesVectorcall: 0 bytesThiscall: 1 byteAapcs: 0 bytesWin64: 0 bytesSysV64: 0 bytesPtxKernel: 0 bytesMsp430Interrupt: 0 bytesX86Interrupt: 0 bytesAmdGpuKernel: 0 bytesEfiApi: 0 bytesAvrInterrupt: 0 bytesAvrNonBlockingInterrupt: 0 bytesCCmseNonSecureCall: 0 bytesWasm: 0 bytesSystem: 1 byteRustIntrinsic: 0 bytesRustCall: 0 bytesPlatformIntrinsic: 0 bytesUnadjusted: 0 bytes