pub unsafe trait AnyType<'ctx>: AsTypeRef + Debug {
// Provided methods
fn as_any_type_enum(&self) -> AnyTypeEnum<'ctx> { ... }
fn print_to_string(&self) -> LLVMString { ... }
}
Expand description
Represents any LLVM type.
Provided Methods§
sourcefn as_any_type_enum(&self) -> AnyTypeEnum<'ctx>
fn as_any_type_enum(&self) -> AnyTypeEnum<'ctx>
Returns an AnyTypeEnum
that represents the current type.
sourcefn print_to_string(&self) -> LLVMString
fn print_to_string(&self) -> LLVMString
Prints the definition of a Type to a LLVMString
.