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

    @inlinable
    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • 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