FeatureConstraintResult
public struct FeatureConstraintResult<T> : Hashable where T : FeatureConstraint
Values of this type represent a single constraint evaluation result, used to determine whether a constraint has been met or not.
You receive these values when the feature’s constraints have been evaluated by the FeatureConstraintsEvaluator
,
which returns a FeatureConstraintEvaluation
so that you can access the individual results.
See
FeatureConstraintEvaluation
-
Undocumented
Declaration
Swift
public let status: FeatureConstraintStatus
-
Undocumented
Declaration
Swift
public let constraint: T
-
Undocumented
Declaration
Swift
public init(constraint: T, status: FeatureConstraintStatus)
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
-
Declaration
Swift
public static func == (lhs: FeatureConstraintResult<T>, rhs: FeatureConstraintResult<T>) -> Bool