ConformanceLensType
public struct ConformanceLensType : TypeProtocol
extension ConformanceLensType: CustomStringConvertible
A wrapper around a type that is seen through the lens of its conformance to a trait.
-
The subject type.
Declaration
Swift
public let subject: AnyType -
The trait through which the subject is viewed.
Declaration
Swift
public let lens: TraitType -
Declaration
Swift
public let flags: ValueFlags -
Creates a new conformance lens.
-
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