Enum clang::CallingConvention [] [src]

pub enum CallingConvention {
    Unexposed,
    Cdecl,
    Fastcall,
    Pascal,
    Stdcall,
    Thiscall,
    Vectorcall,
    Aapcs,
    AapcsVfp,
    IntelOcl,
    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.

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.

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 Hash for CallingConvention
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl Eq for CallingConvention
[src]

impl PartialEq for CallingConvention
[src]

fn eq(&self, __arg_0: &CallingConvention) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for CallingConvention
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for CallingConvention
[src]

fn clone(&self) -> CallingConvention

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for CallingConvention
[src]