TypeFlags

public struct TypeFlags : OptionSet

Bit masks used to check or determine characteristics of a type.

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    public var int: gint { get set }
  • The equivalent underlying GTypeFlags enum value

    Declaration

    Swift

    public var value: GTypeFlags { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    public init(rawValue: UInt32)
  • Creates a new instance with the specified GTypeFlags enum value

    Declaration

    Swift

    public init(_ enumValue: GTypeFlags)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    public init(_ intValue: Int)
  • Creates a new instance with the specified gint value

    Declaration

    Swift

    public init(_ gintValue: gint)
  • Indicates an abstract type. No instances can be created for an abstract type

    Declaration

    Swift

    public static let abstract: TypeFlags
  • Indicates an abstract value type, i.e. a type that introduces a value table, but can’t be used for g_value_init()

    Declaration

    Swift

    public static let valueAbstract: TypeFlags
  • Indicates an abstract value type, i.e. a type that introduces a value table, but can’t be used for g_value_init()

    Declaration

    Swift

    @available(*, deprecated)
    public static let value_abstract: TypeFlags