TupleType
public struct TupleType : TypeProtocol
extension TupleType: CustomStringConvertible
A tuple type.
-
The elements of the tuple.
Declaration
Swift
public let elements: [Element] -
Declaration
Swift
public let flags: ValueFlags -
Creates a tuple type with a sequence of elements.
-
Creates a tuple type with a sequence of label-type pairs.
Declaration
-
Creates a tuple of unlabeled elements with the types in the given sequence.
-
The labels of the tuple.
Declaration
Swift
public var labels: LazyMapSequence<[Element], String?> { get } -
Declaration
Swift
public func transformParts<M>( mutating m: inout M, _ transformer: (inout M, AnyType) -> TypeTransformAction ) -> Self -
Declaration
Swift
public var description: String { get }
View on GitHub