inkwell::values

Trait IntMathValue

source
pub unsafe trait IntMathValue<'ctx>: BasicValue<'ctx> {
    type BaseType: IntMathType<'ctx>;

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

Represents a value which is permitted in integer 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> IntMathValue<'ctx> for IntValue<'ctx>

source§

impl<'ctx> IntMathValue<'ctx> for PointerValue<'ctx>

source§

impl<'ctx> IntMathValue<'ctx> for VectorValue<'ctx>