Enumerationswift-package-manager 6.0.3PackageModel
ProductType
The type of product.
enum ProductType
The type of product.
enum ProductType
import PackageModel
case library(LibraryType)
A library product.
case executable
An executable product.
case snippet
An executable code snippet.
case plugin
An plugin product.
case test
A test product.
case macro
A macro product.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
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
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(from decoder: Decoder) throws
var description: String { get }
var isLibrary: Bool { get }
func encode(to encoder: Encoder) throws
enum LibraryType
The type of library.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.