FeatureConstraint

public protocol FeatureConstraint : Hashable

All feature constraint types must conform to this protocol.

This protocol lets us get at basic information about any kind of constraint enum.

  • Implementations must return a meaningful name for display in debug UIs

    Declaration

    Swift

    var name: String { get }
  • Implementations must return human-readabke information about the constraint’s parameters for display in debug UIs

    Declaration

    Swift

    var parametersDescription: String { get }