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: boolCdecl
Fields
unwind: boolStdcall
Fields
unwind: boolFastcall
Fields
unwind: boolVectorcall
Fields
unwind: boolThiscall
Fields
unwind: boolAapcs
Fields
unwind: boolWin64
Fields
unwind: boolSysV64
Fields
unwind: boolPtxKernel
Msp430Interrupt
X86Interrupt
AmdGpuKernel
EfiApi
AvrInterrupt
AvrNonBlockingInterrupt
CCmseNonSecureCall
Wasm
System
Fields
unwind: boolRustIntrinsic
RustCall
PlatformIntrinsic
Unadjusted
RustCold
Implementations
Trait Implementations
sourceimpl<__CTX> HashStable<__CTX> for Abi where
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for Abi where
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
sourceimpl Ord for Abi
impl Ord for Abi
sourceimpl PartialOrd<Abi> for Abi
impl PartialOrd<Abi> for Abi
sourcefn partial_cmp(&self, other: &Abi) -> Option<Ordering>
fn partial_cmp(&self, other: &Abi) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for Abi
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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