EnumValueRef

public struct EnumValueRef : EnumValueProtocol

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

A structure which contains a single enum value, its name, and its nickname.

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

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

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer

EnumValue Record