Enum rustc_target::spec::abi::Abi[][src]

pub enum Abi {
    Rust,
    C {
        unwind: bool,
    },
    Cdecl,
    Stdcall {
        unwind: bool,
    },
    Fastcall,
    Vectorcall,
    Thiscall {
        unwind: bool,
    },
    Aapcs,
    Win64,
    SysV64,
    PtxKernel,
    Msp430Interrupt,
    X86Interrupt,
    AmdGpuKernel,
    EfiApi,
    AvrInterrupt,
    AvrNonBlockingInterrupt,
    CCmseNonSecureCall,
    Wasm,
    System {
        unwind: bool,
    },
    RustIntrinsic,
    RustCall,
    PlatformIntrinsic,
    Unadjusted,
}

Variants

Rust
C

Fields of C

unwind: bool
Cdecl
Stdcall

Fields of Stdcall

unwind: bool
Fastcall
Vectorcall
Thiscall

Fields of Thiscall

unwind: bool
Aapcs
Win64
SysV64
PtxKernel
Msp430Interrupt
X86Interrupt
AmdGpuKernel
EfiApi
AvrInterrupt
AvrNonBlockingInterrupt
CCmseNonSecureCall
Wasm
System

Fields of System

unwind: bool
RustIntrinsic
RustCall
PlatformIntrinsic
Unadjusted

Implementations

impl Abi[src]

pub fn index(self) -> usize[src]

pub fn data(self) -> &'static AbiData[src]

pub fn name(self) -> &'static str[src]

pub fn generic(self) -> bool[src]

Trait Implementations

impl Clone for Abi[src]

impl Copy for Abi[src]

impl Debug for Abi[src]

impl<__D: Decoder> Decodable<__D> for Abi[src]

impl Display for Abi[src]

impl<__E: Encoder> Encodable<__E> for Abi[src]

impl Eq for Abi[src]

impl Hash for Abi[src]

impl<__CTX> HashStable<__CTX> for Abi where
    __CTX: HashStableContext
[src]

impl Ord for Abi[src]

impl PartialEq<Abi> for Abi[src]

impl PartialOrd<Abi> for Abi[src]

impl StructuralEq for Abi[src]

impl StructuralPartialEq for Abi[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.