ProtocolComposition

@objcMembers
public final class ProtocolComposition : Type

Describes a Swift protocol composition.

  • Declaration

    Swift

    public class var kind: String { get }
  • Returns “protocolComposition”

    Declaration

    Swift

    public override var kind: String { get }
  • The names of the types composed to form this composition

    Declaration

    Swift

    public let composedTypeNames: [TypeName]
  • The types composed to form this composition, if known

    Declaration

    Swift

    public var composedTypes: [Type]?
  • Declaration

    Swift

    override public func diffAgainst(_ object: Any?) -> DiffableResult