Enum rustc_codegen_llvm::llvm::TypeKind
source · #[repr(C)]pub enum TypeKind {
Show 20 variants
Void,
Half,
Float,
Double,
X86_FP80,
FP128,
PPC_FP128,
Label,
Integer,
Function,
Struct,
Array,
Pointer,
Vector,
Metadata,
X86_MMX,
Token,
ScalableVector,
BFloat,
X86_AMX,
}
Expand description
LLVMTypeKind
Variants§
Void
Half
Float
Double
X86_FP80
FP128
PPC_FP128
Label
Integer
Function
Struct
Array
Pointer
Vector
Metadata
X86_MMX
Token
ScalableVector
BFloat
X86_AMX
Implementations§
Trait Implementations§
source§impl PartialEq<TypeKind> for TypeKind
impl PartialEq<TypeKind> 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