pub unsafe trait AnyValue<'ctx>: AsValueRef + Debug {
// Provided methods
fn as_any_value_enum(&self) -> AnyValueEnum<'ctx> { ... }
fn print_to_string(&self) -> LLVMString { ... }
fn is_poison(&self) -> bool { ... }
}
Expand description
Defines any struct wrapping an LLVM value.
Provided Methods§
sourcefn as_any_value_enum(&self) -> AnyValueEnum<'ctx>
fn as_any_value_enum(&self) -> AnyValueEnum<'ctx>
Returns an enum containing a typed version of AnyValue
.
sourcefn print_to_string(&self) -> LLVMString
fn print_to_string(&self) -> LLVMString
Prints a value to a LLVMString