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§
sourcetype ValueType: IntMathValue<'ctx>
type ValueType: IntMathValue<'ctx>
The value instance of an int or int vector type.
sourcetype MathConvType: FloatMathType<'ctx>
type MathConvType: FloatMathType<'ctx>
The type for int to float or int vector to float vector conversions.
sourcetype PtrConvType: PointerMathType<'ctx>
type PtrConvType: PointerMathType<'ctx>
The type for int to pointer or int vector to pointer vector conversions.