WitnessType
public struct WitnessType : TypeProtocol
extension WitnessType: CustomStringConvertible
The type of the value stored in an existential type.
-
The existential type wrapping this witness.
Declaration
Swift
public let container: ExistentialType -
Creates the witness type of
e.Declaration
Swift
public init(of e: ExistentialType) -
A set of flags describing recursive properties.
Declaration
Swift
public var flags: ValueFlags { get } -
Apply
transform(_:_:)onmand the types that are part ofself.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