TraitType
public struct TraitType : TypeProtocol
extension TraitType: CustomStringConvertible
A trait type.
-
The declaration that introduces the trait.
Declaration
Swift
public let decl: TraitDecl.ID -
The name of the trait.
Declaration
Swift
public let name: Incidental<String> -
Creates an instance denoting the product type declared by
decl. -
Declaration
Swift
public var flags: ValueFlags { get } -
Declaration
Swift
public var description: String { get }
View on GitHub