GenericConstraint
public struct GenericConstraint : Hashable, Sendable
extension GenericConstraint: CustomStringConvertible
A constraint on generic type and value parameters.
-
The value of a generic constraint.
See moreDeclaration
Swift
public enum Value : Hashable, Sendable -
The value of the constraint.
Declaration
Swift
public let value: Value -
The site from which
selfwas parsed.Declaration
Swift
public let site: SourceRange -
Creates an instance with given properties.
Declaration
Swift
public init(_ value: Value, at site: SourceRange) -
Declaration
Swift
public var description: String { get }
View on GitHub