Enum clang::CallingConvention [] [src]

#[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

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

The function type uses the x86 cdecl calling convention.

The function type uses the x86 fastcall calling convention.

The function type uses the x86 pascal calling convention.

The function type uses the x86 stdcall calling convention.

The function type uses the x86 thiscall calling convention.

The function type uses the x86 vectorcall calling convention.

Only produced by libclang 3.6 and later.

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

Only produced by libclang 3.9 and later.

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

Only produced by libclang 3.9 and later.

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

Only produced by libclang 3.9 and later.

The function type uses the ARM AACPS calling convention.

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

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

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

Only produced by libclang 4.0 and later.

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

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

Trait Implementations

impl Copy for CallingConvention
[src]

impl Clone for CallingConvention
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CallingConvention
[src]

Formats the value using the given formatter.

impl PartialEq for CallingConvention
[src]

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

This method tests for !=.

impl Eq for CallingConvention
[src]

impl Hash for CallingConvention
[src]

Feeds this value into the given [Hasher]. Read more

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