mlir_sys

Function mlirLLVMStructTypeGetElementType

Source
pub unsafe extern "C" fn mlirLLVMStructTypeGetElementType(
    type_: MlirType,
    position: isize,
) -> MlirType
Expand description

Returns the positions-th field of the struct. Asserts if the struct is opaque, not yet initialized or if the position is out of range.