Enum rustc_codegen_ssa::common::TypeKind
source · [−]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,
}
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
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> CodegenObject for Twhere
T: Copy + PartialEq<T> + Debug,
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: 1 byte
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