Trait inkwell::types::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§

source§

impl<'ctx> IntMathType<'ctx> for IntType<'ctx>

source§

impl<'ctx> IntMathType<'ctx> for VectorType<'ctx>