Function mlir_sys::mlirOperationImplementsInterfaceStatic
source · pub unsafe extern "C" fn mlirOperationImplementsInterfaceStatic(
operationName: MlirStringRef,
context: MlirContext,
interfaceTypeID: MlirTypeID
) -> bool
Expand description
Returns true
if the operation identified by its canonical string name
implements the interface identified by its TypeID in the given context.
Note that interfaces may be attached to operations in some contexts and not
others.