DeclaredFeatureConstraints
public struct DeclaredFeatureConstraints
A container for the definition a single Feature’s constraints.
-
All the platform constraints that were declared on the feature, including those not relevant to the current execution platform
Declaration
Swift
public let allDeclaredPlatforms: [Platform : PlatformConstraint]
-
The set of preconditions that apply to the feature
Declaration
Swift
public let preconditions: Set<FeaturePreconditionConstraint>
-
The set of permission that apply to the feature
Declaration
Swift
public let permissions: Set<SystemPermissionConstraint>
-
- return:
true
if and only there are no constraints that currently apply.
Declaration
Swift
public let isEmpty: Bool
- return:
-
Undocumented
Declaration
Swift
public static let empty: DeclaredFeatureConstraints
-
Undocumented
Declaration
Swift
public init(allDeclaredPlatforms: [Platform:PlatformConstraint], preconditions: Set<FeaturePreconditionConstraint>, permissions: Set<SystemPermissionConstraint>)
-
Undocumented
Declaration
Swift
public init(_ allDeclaredPlatforms: [Platform : PlatformConstraint])
-
Undocumented
Declaration
Swift
public init(_ preconditions: Set<FeaturePreconditionConstraint>)
-
Undocumented
Declaration
Swift
public init(_ permissions: Set<SystemPermissionConstraint>)
-
Undocumented
Declaration
Swift
public init()