[][src]Enum clang::CallingConvention

#[repr(C)]
pub enum CallingConvention {
    Unexposed,
    Cdecl,
    Fastcall,
    Pascal,
    Stdcall,
    Thiscall,
    Vectorcall,
    Swift,
    PreserveMost,
    PreserveAll,
    Aapcs,
    AapcsVfp,
    IntelOcl,
    RegCall,
    SysV64,
    Win64,
}

Indicates the calling convention specified for a function type.

Variants

Unexposed

The function type uses a calling convention that is not exposed via this interface.

Cdecl

The function type uses the x86 cdecl calling convention.

Fastcall

The function type uses the x86 fastcall calling convention.

Pascal

The function type uses the x86 pascal calling convention.

Stdcall

The function type uses the x86 stdcall calling convention.

Thiscall

The function type uses the x86 thiscall calling convention.

Vectorcall

The function type uses the x86 vectorcall calling convention.

Only produced by libclang 3.6 and later.

Swift

The function type uses the calling convention for the Swift programming language.

Only produced by libclang 3.9 and later.

PreserveMost

The function type uses a calling convention that perserves most registers.

Only produced by libclang 3.9 and later.

PreserveAll

The function type uses a calling convention that preverses nearly all registers.

Only produced by libclang 3.9 and later.

Aapcs

The function type uses the ARM AACPS calling convention.

AapcsVfp

The function type uses the ARM AACPS-VFP calling convention.

IntelOcl

The function type uses the calling convention for Intel OpenCL built-ins.

RegCall

The function type uses a calling convention that passes as many values in registers as possible.

Only produced by libclang 4.0 and later.

SysV64

The function type uses the x64 C calling convention as specified in the System V ABI.

Win64

The function type uses the x64 C calling convention as implemented on Windows.

Trait Implementations

impl PartialEq<CallingConvention> for CallingConvention[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Clone for CallingConvention[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for CallingConvention[src]

impl Copy for CallingConvention[src]

impl Debug for CallingConvention[src]

impl Hash for CallingConvention[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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