Enum rustc_codegen_llvm::abi::Abi
source · pub enum Abi {
Show 25 variants
Rust,
C {
unwind: bool,
},
Cdecl {
unwind: bool,
},
Stdcall {
unwind: bool,
},
Fastcall {
unwind: bool,
},
Vectorcall {
unwind: bool,
},
Thiscall {
unwind: bool,
},
Aapcs {
unwind: bool,
},
Win64 {
unwind: bool,
},
SysV64 {
unwind: bool,
},
PtxKernel,
Msp430Interrupt,
X86Interrupt,
AmdGpuKernel,
EfiApi,
AvrInterrupt,
AvrNonBlockingInterrupt,
CCmseNonSecureCall,
Wasm,
System {
unwind: bool,
},
RustIntrinsic,
RustCall,
PlatformIntrinsic,
Unadjusted,
RustCold,
}
Variants
Rust
C
Fields
unwind: bool
Cdecl
Fields
unwind: bool
Stdcall
Fields
unwind: bool
Fastcall
Fields
unwind: bool
Vectorcall
Fields
unwind: bool
Thiscall
Fields
unwind: bool
Aapcs
Fields
unwind: bool
Win64
Fields
unwind: bool
SysV64
Fields
unwind: bool
PtxKernel
Msp430Interrupt
X86Interrupt
AmdGpuKernel
EfiApi
AvrInterrupt
AvrNonBlockingInterrupt
CCmseNonSecureCall
Wasm
System
Fields
unwind: bool
RustIntrinsic
RustCall
PlatformIntrinsic
Unadjusted
RustCold
Auto Trait Implementations
impl RefUnwindSafe for Abi
impl Send for Abi
impl Sync for Abi
impl Unpin for Abi
impl UnwindSafe for Abi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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
: 1 byteStdcall
: 1 byteFastcall
: 1 byteVectorcall
: 1 byteThiscall
: 1 byteAapcs
: 1 byteWin64
: 1 byteSysV64
: 1 bytePtxKernel
: 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 bytesRustCold
: 0 bytes