TypeFundamentalFlags
public struct TypeFundamentalFlags : OptionSet
Bit masks used to check or determine specific characteristics of a fundamental 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 }
-
The equivalent raw
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
GTypeFundamentalFlags
enum valueDeclaration
Swift
@inlinable public var value: GTypeFundamentalFlags { 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
GTypeFundamentalFlags
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GTypeFundamentalFlags)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
Indicates a classed type
Declaration
Swift
public static let classed: TypeFundamentalFlags
-
Indicates an instantiatable type (implies classed)
Declaration
Swift
public static let instantiatable: TypeFundamentalFlags
-
Indicates a flat derivable type
Declaration
Swift
public static let derivable: TypeFundamentalFlags
-
Indicates a deep derivable type (implies derivable)
Declaration
Swift
public static let deepDerivable: TypeFundamentalFlags