Enum clang::TypeKind [] [src]

#[repr(C)]
pub enum TypeKind { Unexposed, Void, Bool, CharS, CharU, SChar, UChar, WChar, Char16, Char32, Short, UShort, Int, UInt, Long, ULong, LongLong, ULongLong, Int128, UInt128, Half, Float16, Float, Double, LongDouble, Nullptr, Complex, Dependent, Overload, ObjCId, ObjCClass, ObjCSel, Float128, ObjCInterface, ObjCObjectPointer, Pointer, BlockPointer, MemberPointer, LValueReference, RValueReference, Enum, Record, Typedef, FunctionPrototype, FunctionNoPrototype, ConstantArray, DependentSizedArray, IncompleteArray, VariableArray, Vector, Auto, Elaborated, Pipe, OCLImage1dRO, OCLImage1dArrayRO, OCLImage1dBufferRO, OCLImage2dRO, OCLImage2dArrayRO, OCLImage2dDepthRO, OCLImage2dArrayDepthRO, OCLImage2dMSAARO, OCLImage2dArrayMSAARO, OCLImage2dMSAADepthRO, OCLImage2dArrayMSAADepthRO, OCLImage3dRO, OCLImage1dWO, OCLImage1dArrayWO, OCLImage1dBufferWO, OCLImage2dWO, OCLImage2dArrayWO, OCLImage2dDepthWO, OCLImage2dArrayDepthWO, OCLImage2dMSAAWO, OCLImage2dArrayMSAAWO, OCLImage2dMSAADepthWO, OCLImage2dArrayMSAADepthWO, OCLImage3dWO, OCLImage1dRW, OCLImage1dArrayRW, OCLImage1dBufferRW, OCLImage2dRW, OCLImage2dArrayRW, OCLImage2dDepthRW, OCLImage2dArrayDepthRW, OCLImage2dMSAARW, OCLImage2dArrayMSAARW, OCLImage2dMSAADepthRW, OCLImage2dArrayMSAADepthRW, OCLImage3dRW, OCLSampler, OCLEvent, OCLQueue, OCLReserveID, }

Indicates the categorization of a type.

Variants

A type whose specific kind is not exposed via this interface.

void

bool (C++) or _Bool (C99)

The char type when it is signed by default.

The char type when it is unsigned by default.

signed char

unsigned char

wchar_t

char16_t

char32_t

short

unsigned short

int

unsigned int

long

unsigned long

long long

unsigned long long

__int128_t

__uint128_t

A half-precision (16-bit) floating point type.

Only produced by libclang 5.0 and later.

A half-precision (16-bit) floating point type.

Only produced by libclang 6.0 and later.

float

double

long double

nullptr_t (C++11)

A C99 complex type (e.g., _Complex float).

An unknown dependent type.

The type of an unresolved overload set.

id (Objective-C)

Class (Objective-C)

SEL (Objective-C)

__float128

Only produced by libclang 3.9 and later.

An Objective-C interface type.

An Objective-C pointer to object type.

A pointer type.

A block pointer type (e.g., void (^)(int)).

A pointer to a record member type.

An l-value reference (e.g. int&).

An r-value reference (e.g. int&&).

An enum type.

A record type such as a struct or a class.

A typedef.

A function prototype with parameter type information (e.g., void foo(int)).

A function prototype without parameter type information (e.g., void foo()).

An array type with a specified size that is an integer constant expression.

An array type with a specified size that is a dependent value.

An array type without a specified size.

An array type with a specified size that is not an integer constant expression.

A GCC generic vector type.

A C++11 decltype(auto) type.

Only produced by libclang 3.8 and later.

A type that was referred to using an elaborated type keyword (e.g., struct S).

Only produced by libclang 3.9 and later.

An OpenCL pipe type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL image type.

Only produced by libclang 5.0 and later.

An OpenCL sampler type.

Only produced by libclang 5.0 and later.

An OpenCL event type.

Only produced by libclang 5.0 and later.

An OpenCL queue type.

Only produced by libclang 5.0 and later.

An OpenCL reserve ID type.

Only produced by libclang 5.0 and later.

Trait Implementations

impl Copy for TypeKind
[src]

impl Clone for TypeKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TypeKind
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for TypeKind
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for TypeKind
[src]

impl Hash for TypeKind
[src]

[src]

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

1.3.0
[src]

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

Auto Trait Implementations

impl Send for TypeKind

impl Sync for TypeKind