GenericRequirement
@objcMembers
public class GenericRequirement : NSObject, SourceryModel, Diffable
extension GenericRequirement: NSCoding
Descibes Swift generic requirement
-
Declaration
Swift
public enum Relationship : String
-
Declaration
Swift
public var leftType: AssociatedType
-
Declaration
Swift
public let rightType: GenericTypeParameter
-
relationship name
Declaration
Swift
public let relationship: String
-
Syntax e.g.
==
or:
Declaration
Swift
public let relationshipSyntax: String
-
Declaration
Swift
public init(leftType: AssociatedType, rightType: GenericTypeParameter, relationship: Relationship)
-
Declaration
Swift
public func diffAgainst(_ object: Any?) -> DiffableResult