[][src]Trait inkwell::values::BasicValue

pub trait BasicValue: AnyValue {
    fn as_basic_value_enum(&self) -> BasicValueEnum { ... }
fn as_instruction_value(&self) -> Option<InstructionValue> { ... }
fn get_first_use(&self) -> Option<BasicValueUse> { ... } }

Represents a basic value, which can be used both by itself, or in an AggregateValue.

Provided methods

fn as_basic_value_enum(&self) -> BasicValueEnum

Returns an enum containing a typed version of the BasicValue.

fn as_instruction_value(&self) -> Option<InstructionValue>

Most BasicValues are the byproduct of an instruction and so are convertable into an InstructionValue

fn get_first_use(&self) -> Option<BasicValueUse>

Loading content...

Implementors

impl BasicValue for AggregateValueEnum[src]

impl BasicValue for BasicValueEnum[src]

impl BasicValue for ArrayValue[src]

impl BasicValue for FloatValue[src]

impl BasicValue for GlobalValue[src]

impl BasicValue for IntValue[src]

impl BasicValue for PointerValue[src]

impl BasicValue for StructValue[src]

impl BasicValue for VectorValue[src]

Loading content...