Compatibility
Compatible platform and Swift version.
PackageCollectionModel+v1.swift:282struct Compatibility
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (10) members.
Types
struct Collection
struct License
struct Platform
struct PlatformVersion
struct Product
enum ProductType
The type of product.
struct Signature
Package collection signature and associated metadata
struct SignedCollection
A signed package collection. The only difference between this and
Collection
is the presence ofsignature
.struct Signer
struct Target
Citizens in PackageCollectionsModel
Conformances
protocol Comparable
A type that can be compared using the relational operators
<
,<=
,>=
, and>
.protocol Copyable
A type whose values can be implicitly or explicitly copied.
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 Escapable
Type members
init(from: any Decoder
) throws init(platform: Platform, swiftVersion: String
) Creates a
Compatibility
static func < (lhs: `Self`, rhs: `Self`
) -> Bool
Instance members
let platform: Platform
The platform (e.g., macOS, Linux, etc.)
let swiftVersion: String
The Swift version
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
static func ... (minimum: Self
) -> PartialRangeFrom<Self> Returns a partial range extending upward from a lower bound.
static func ... (maximum: Self
) -> PartialRangeThrough<Self> Returns a partial range up to, and including, its upper bound.
static func ... (minimum: Self, maximum: Self
) -> ClosedRange<Self> Returns a closed range that contains both of its bounds.
static func ..< (maximum: Self
) -> PartialRangeUpTo<Self> Returns a partial range up to, but not including, its upper bound.
static func ..< (minimum: Self, maximum: Self
) -> Range<Self> Returns a half-open range that contains its lower bound but not its upper bound.
static func <= (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
static func > (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
static func >= (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.