Enum rustc_codegen_llvm::llvm_::ffi::TypeKind
source · #[repr(C)]pub enum TypeKind {
Show 20 variants
Void = 0,
Half = 1,
Float = 2,
Double = 3,
X86_FP80 = 4,
FP128 = 5,
PPC_FP128 = 6,
Label = 7,
Integer = 8,
Function = 9,
Struct = 10,
Array = 11,
Pointer = 12,
Vector = 13,
Metadata = 14,
X86_MMX = 15,
Token = 16,
ScalableVector = 17,
BFloat = 18,
X86_AMX = 19,
}Expand description
LLVMTypeKind
Variants§
Void = 0
Half = 1
Float = 2
Double = 3
X86_FP80 = 4
FP128 = 5
PPC_FP128 = 6
Label = 7
Integer = 8
Function = 9
Struct = 10
Array = 11
Pointer = 12
Vector = 13
Metadata = 14
X86_MMX = 15
Token = 16
ScalableVector = 17
BFloat = 18
X86_AMX = 19
Implementations§
Trait Implementations§
source§impl PartialEq for TypeKind
impl PartialEq for TypeKind
impl Copy for TypeKind
impl StructuralPartialEq for TypeKind
Auto Trait Implementations§
impl RefUnwindSafe for TypeKind
impl Send for TypeKind
impl Sync for TypeKind
impl Unpin for TypeKind
impl UnwindSafe for TypeKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes
Size for each variant:
Void: 0 bytesHalf: 0 bytesFloat: 0 bytesDouble: 0 bytesX86_FP80: 0 bytesFP128: 0 bytesPPC_FP128: 0 bytesLabel: 0 bytesInteger: 0 bytesFunction: 0 bytesStruct: 0 bytesArray: 0 bytesPointer: 0 bytesVector: 0 bytesMetadata: 0 bytesX86_MMX: 0 bytesToken: 0 bytesScalableVector: 0 bytesBFloat: 0 bytesX86_AMX: 0 bytes