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
Implementations
Trait Implementations
sourceimpl<__CTX> HashStable<__CTX> for Abiwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for Abiwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
sourceimpl Ord for Abi
impl Ord for Abi
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
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>
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 moreimpl 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 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