pub type MlirTypeConverterConversionCallback = Option<unsafe extern "C" fn(type_: MlirType, convertedType: *mut MlirType, userData: *mut c_void) -> MlirLogicalResult>;Expand description
Callback type for type conversion functions. Returns failure or sets convertedType to MlirType{NULL} to indicate failure. If failure is returned, the converter is allowed to try another conversion function to perform the conversion.
Aliased Type§
pub enum MlirTypeConverterConversionCallback {
None,
Some(unsafe extern "C" fn(MlirType, *mut MlirType, *mut c_void) -> MlirLogicalResult),
}