inkwell::types

Trait IntMathType

source
pub unsafe trait IntMathType<'ctx>: BasicType<'ctx> {
    type ValueType: IntMathValue<'ctx>;
    type MathConvType: FloatMathType<'ctx>;
    type PtrConvType: PointerMathType<'ctx>;
}
Expand description

Represents an LLVM type that can have integer math operations applied to it.

Required Associated Types§

source

type ValueType: IntMathValue<'ctx>

The value instance of an int or int vector type.

source

type MathConvType: FloatMathType<'ctx>

The type for int to float or int vector to float vector conversions.

source

type PtrConvType: PointerMathType<'ctx>

The type for int to pointer or int vector to pointer vector conversions.

Implementors§