[−][src]Enum rustc_codegen_llvm::llvm::TypeKind

#[repr(C)]pub enum TypeKind {
    Void,
    Half,
    Float,
    Double,
    X86_FP80,
    FP128,
    PPC_FP128,
    Label,
    Integer,
    Function,
    Struct,
    Array,
    Pointer,
    Vector,
    Metadata,
    X86_MMX,
    Token,
    ScalableVector,
    BFloat,
}

LLVMTypeKind

Variants

Void
Half
Float
Double
X86_FP80
FP128
PPC_FP128
Label
Integer
Function
Struct
Array
Pointer
Vector
Metadata
X86_MMX
Token
ScalableVector
BFloat

Implementations

impl TypeKind[src]

pub fn to_generic(self) -> TypeKind[src]

Trait Implementations

impl Clone for TypeKind[src]

impl Copy for TypeKind[src]

impl Debug for TypeKind[src]

impl PartialEq<TypeKind> for TypeKind[src]

impl StructuralPartialEq for TypeKind[src]

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

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.