BoundGenericType
public struct BoundGenericType : TypeProtocol
extension BoundGenericType: Equatable
extension BoundGenericType: Hashable
extension BoundGenericType: CustomStringConvertible
A generic type bound to arguments.
-
Undocumented
Declaration
Swift
public typealias Arguments = OrderedDictionary<GenericParameterDecl.ID, CompileTimeValue> -
The underlying generic type.
Declaration
Swift
public let base: AnyType -
The type and value arguments of the base type.
Declaration
Swift
public let arguments: Arguments -
Declaration
Swift
public let flags: ValueFlags -
Declaration
Swift
public init<T>(_ base: T, arguments: Arguments) where T : TypeProtocol -
Applies
TypeProtocol.transform(mutating:_:)onmand the types that are part ofself.Declaration
Swift
public func transformParts<M>( mutating m: inout M, _ transformer: (inout M, AnyType) -> TypeTransformAction ) -> Self -
Applies
transformonmand the generic arguments that are part ofself.Declaration
Swift
public func transformArguments<M>( mutating m: inout M, _ transform: (inout M, CompileTimeValue) -> CompileTimeValue ) -> Self -
Returns
trueifflis syntactically equal tor.Declaration
Swift
public static func == (l: `Self`, r: `Self`) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher) -
Declaration
Swift
public var description: String { get }
View on GitHub