EnumClassRef

public struct EnumClassRef : EnumClassProtocol

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

The class of an enumeration type holds information about its possible values.

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

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

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer

EnumClass Record