pub fn types_compatible(a: &ObjCQualifiedType, b: &ObjCQualifiedType) -> boolExpand description
Check structural type compatibility between two ObjC types.
This is a recursive check:
- Primitive types must match exactly.
idis compatible with any object type (and vice versa).- Pointers must match in depth and pointee compatibility.
- Struct/union names must match.
- Qualifiers are ignored here (checked separately).