DIType
public protocol DIType : DIScope
Denotes metadata for a type.
-
name
Extension methodRetrieves the name of this type.
Declaration
Swift
public var name: String { get }
-
sizeInBits
Extension methodRetrieves the size of the type represented by this metadata in bits.
Declaration
Swift
public var sizeInBits: Size { get }
-
offsetInBits
Extension methodRetrieves the offset of the type represented by this metadata in bits.
Declaration
Swift
public var offsetInBits: Size { get }
-
alignmentInBits
Extension methodRetrieves the alignment of the type represented by this metadata in bits.
Declaration
Swift
public var alignmentInBits: Alignment { get }
-
line
Extension methodRetrieves the line the type represented by this metadata is declared on.
Declaration
Swift
public var line: Int { get }
-
flags
Extension methodRetrieves the flags the type represented by this metadata is declared with.
Declaration
Swift
public var flags: DIFlags { get }