SupportedPlatform
Represents a platform supported by a target.
struct SupportedPlatform
Represents a platform supported by a target.
struct SupportedPlatform
import PackageModel
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(from decoder: any Decoder) throws
init(platform: Platform, version: PlatformVersion, options: [String] = [])
let options: [String]
The options declared by the platform.
let platform: Platform
The platform.
let version: PlatformVersion
The minimum required version for this platform.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.