Trait inkwell::values::FloatMathValue

source ·
pub unsafe trait FloatMathValue<'ctx>: BasicValue<'ctx> {
    type BaseType: FloatMathType<'ctx>;

    // Required method
    unsafe fn new(value: LLVMValueRef) -> Self;
}
Expand description

Represents a value which is permitted in floating point math operations

Required Associated Types§

Required Methods§

source

unsafe fn new(value: LLVMValueRef) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'ctx> FloatMathValue<'ctx> for FloatValue<'ctx>

§

type BaseType = FloatType<'ctx>

source§

impl<'ctx> FloatMathValue<'ctx> for VectorValue<'ctx>

§

type BaseType = VectorType<'ctx>