Enum stable_mir::ty::Abi
source · pub enum Abi {
Show 27 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,
RiscvInterruptM,
RiscvInterruptS,
}
Variants§
Rust
C
Cdecl
Stdcall
Fastcall
Vectorcall
Thiscall
Aapcs
Win64
SysV64
PtxKernel
Msp430Interrupt
X86Interrupt
AmdGpuKernel
EfiApi
AvrInterrupt
AvrNonBlockingInterrupt
CCmseNonSecureCall
Wasm
System
RustIntrinsic
RustCall
PlatformIntrinsic
Unadjusted
RustCold
RiscvInterruptM
RiscvInterruptS
Trait Implementations§
impl Eq for Abi
impl StructuralEq for Abi
impl StructuralPartialEq for Abi
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn 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 bytesRiscvInterruptM
: 0 bytesRiscvInterruptS
: 0 bytes