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
  • Indicates a final type. A final type is a non-derivable leaf node in a deep derivable type hierarchy tree. Since: 2.70

    Declaration

    Swift

    public static let final: TypeFlags