[−][src]Enum clang::CallingConvention
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 Eq for CallingConvention
[src]
impl Clone for CallingConvention
[src]
fn clone(&self) -> CallingConvention
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<CallingConvention> for CallingConvention
[src]
fn eq(&self, other: &CallingConvention) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for CallingConvention
[src]
impl Hash for CallingConvention
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for CallingConvention
[src]
Auto Trait Implementations
impl Send for CallingConvention
impl Sync for CallingConvention
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,