TypeInterfaceRef

public struct TypeInterfaceRef : TypeInterfaceProtocol

The TypeInterfaceRef type acts as a lightweight Swift reference to an underlying GTypeInterface instance. It exposes methods that can operate on this data type through TypeInterfaceProtocol conformance. Use TypeInterfaceRef only as an unowned reference to an existing GTypeInterface instance.

An opaque structure used as the base of all interface types.

  • ptr
    Untyped pointer to the underlying `GTypeInterface` instance.
    

    For type-safe access, use the generated, typed pointer _ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer

TypeInterface Record