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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

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 bytes
  • C: 1 byte
  • Cdecl: 1 byte
  • Stdcall: 1 byte
  • Fastcall: 1 byte
  • Vectorcall: 1 byte
  • Thiscall: 1 byte
  • Aapcs: 1 byte
  • Win64: 1 byte
  • SysV64: 1 byte
  • PtxKernel: 0 bytes
  • Msp430Interrupt: 0 bytes
  • X86Interrupt: 0 bytes
  • AmdGpuKernel: 0 bytes
  • EfiApi: 0 bytes
  • AvrInterrupt: 0 bytes
  • AvrNonBlockingInterrupt: 0 bytes
  • CCmseNonSecureCall: 0 bytes
  • Wasm: 0 bytes
  • System: 1 byte
  • RustIntrinsic: 0 bytes
  • RustCall: 0 bytes
  • PlatformIntrinsic: 0 bytes
  • Unadjusted: 0 bytes
  • RustCold: 0 bytes